Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001849/0.001848, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.647/2.647, allocations: 409.4 MB / 0.684 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003654, allocations: 12 kB / 0.8378 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7936/0.7939, allocations: 146.8 MB / 0.9811 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02031/0.8143, allocations: 20.41 MB / 1.001 GB, free: 1.773 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02423/0.8386, allocations: 16.41 MB / 1.017 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005166/0.8438, allocations: 99.44 kB / 1.017 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002489/0.8463, allocations: 0.5658 MB / 1.018 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01081/0.8571, allocations: 2.852 MB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003328/0.8605, allocations: 0.9558 MB / 1.021 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00877/0.8693, allocations: 5.92 MB / 1.027 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003602/0.8729, allocations: 2.071 MB / 1.029 GB, free: 4.77 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004075/0.877, allocations: 1.965 MB / 1.031 GB, free: 2.797 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004648/0.8817, allocations: 2.222 MB / 1.033 GB, free: 0.5664 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001007/0.8827, allocations: 176 kB / 1.034 GB, free: 404 kB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001912/0.8846, allocations: 0.4918 MB / 1.034 GB, free: 15.9 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001087/0.8857, allocations: 0.9576 MB / 1.035 GB, free: 14.94 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001323/0.8871, allocations: 0.6912 MB / 1.036 GB, free: 14.24 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.004921/0.892, allocations: 3.919 MB / 1.039 GB, free: 10.31 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/0.892, allocations: 0 / 1.039 GB, free: 10.31 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.954e-06/0.892, allocations: 0 / 1.039 GB, free: 10.31 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001524/0.8922, allocations: 0 / 1.039 GB, free: 10.31 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.009157/0.9013, allocations: 4.109 MB / 1.043 GB, free: 6.094 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.9014, allocations: 12.03 kB / 1.043 GB, free: 6.082 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008065/0.9022, allocations: 362.1 kB / 1.044 GB, free: 5.719 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01454/0.9168, allocations: 3.37 MB / 1.047 GB, free: 2.34 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003949/0.9208, allocations: 1.987 MB / 1.049 GB, free: 292 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003428/0.9211, allocations: 465.7 kB / 1.049 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004632/0.9216, allocations: 228 kB / 1.05 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009624/0.9312, allocations: 4.861 MB / 1.054 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.575e-05/0.9313, allocations: 3.984 kB / 1.054 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002865/0.9316, allocations: 104 kB / 1.055 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001781/0.9318, allocations: 172.8 kB / 1.055 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01216/0.9439, allocations: 5.3 MB / 1.06 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02166/0.9656, allocations: 14.59 MB / 1.074 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008863/0.9746, allocations: 3.668 MB / 1.078 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003479/0.9781, allocations: 1.588 MB / 1.079 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001338/0.9782, allocations: 25.2 kB / 1.079 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003841/0.9821, allocations: 1.916 MB / 1.081 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=163): time 3.476e-06/0.9821, allocations: 0 / 1.081 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of matching and sorting (n=250): time 0.1168/1.099, allocations: 34.09 MB / 1.114 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002814/1.099, allocations: 0.4928 MB / 1.115 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004042/1.103, allocations: 2.277 MB / 1.117 GB, free: 8.688 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0007589/1.104, allocations: 77.7 kB / 1.117 GB, free: 8.605 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.002296/1.106, allocations: 1.43 MB / 1.119 GB, free: 7.16 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.001395/1.108, allocations: 0.8201 MB / 1.119 GB, free: 6.328 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002598/1.108, allocations: 48 kB / 1.119 GB, free: 6.281 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0003404/1.108, allocations: 402.6 kB / 1.12 GB, free: 5.883 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005705/1.114, allocations: 2.105 MB / 1.122 GB, free: 3.773 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005619/1.12, allocations: 2.421 MB / 1.124 GB, free: 1.27 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005248/1.125, allocations: 2.284 MB / 1.127 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.939e-06/1.125, allocations: 0 / 1.127 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01878/1.144, allocations: 6.887 MB / 1.133 GB, free: 7.953 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001532/1.144, allocations: 148.5 kB / 1.133 GB, free: 7.777 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.086e-05/1.144, allocations: 4 kB / 1.133 GB, free: 7.773 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009952/1.154, allocations: 2.942 MB / 1.136 GB, free: 4.824 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003027/1.157, allocations: 0.5696 MB / 1.137 GB, free: 4.254 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03833/1.195, allocations: 17.32 MB / 1.154 GB, free: 2.699 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004083/1.2, allocations: 415.6 kB / 1.154 GB, free: 2.293 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005835/1.2, allocations: 91.97 kB / 1.154 GB, free: 2.203 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,45.0%) 52} * Non-linear torn systems: 1 {9 63} Notification: Performance of prepare postOptimizeDAE: time 0.002148/1.202, allocations: 0.7081 MB / 1.155 GB, free: 1.488 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009841/1.203, allocations: 332 kB / 1.155 GB, free: 1.16 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001278/1.205, allocations: 384.3 kB / 1.156 GB, free: 0.7773 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-05/1.205, allocations: 27.94 kB / 1.156 GB, free: 0.75 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.401e-05/1.205, allocations: 19.94 kB / 1.156 GB, free: 0.7305 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.174e-05/1.205, allocations: 11.95 kB / 1.156 GB, free: 0.7188 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008209/1.213, allocations: 3.624 MB / 1.159 GB, free: 13.04 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.103e-05/1.213, allocations: 0 / 1.159 GB, free: 13.04 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002611/1.216, allocations: 0.4955 MB / 1.16 GB, free: 12.54 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009639/1.225, allocations: 2.865 MB / 1.162 GB, free: 9.664 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004908/1.226, allocations: 51.97 kB / 1.163 GB, free: 9.613 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03731/1.263, allocations: 17.12 MB / 1.179 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.263, allocations: 4.094 kB / 1.179 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01843/1.282, allocations: 6.521 MB / 1.186 GB, free: 1.648 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002743/1.285, allocations: 0.7039 MB / 1.186 GB, free: 0.9219 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001448/1.286, allocations: 47.98 kB / 1.186 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003934/1.29, allocations: 407.6 kB / 1.187 GB, free: 488 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001401/1.291, allocations: 366.6 kB / 1.187 GB, free: 124 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003924/1.292, allocations: 71.92 kB / 1.187 GB, free: 52 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00355/1.295, allocations: 1.517 MB / 1.189 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.1e-07/1.295, allocations: 0 / 1.189 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.005523/1.301, allocations: 1.043 MB / 1.19 GB, free: 13.49 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 52} * Non-linear torn systems: 1 {10 62} Notification: Performance of Backend phase and start with SimCode phase: time 0.02069/1.322, allocations: 7.154 MB / 1.197 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0249/1.347, allocations: 6.821 MB / 1.203 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/1.347, allocations: 0 / 1.203 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.01738/1.364, allocations: 4.237 MB / 1.207 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006498/1.371, allocations: 1.048 MB / 1.208 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07079/1.442, allocations: 27.16 MB / 1.235 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003237/1.445, allocations: 2.231 MB / 1.237 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003387/1.448, allocations: 0.5098 MB / 1.238 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00242/1.451, allocations: 1.327 MB / 1.239 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of SimCode: time 1.213e-06/1.451, allocations: 0 / 1.239 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8175/2.268, allocations: 96.52 MB / 1.333 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001825/2.268, allocations: 231.9 kB / 1.333 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.864/7.133, allocations: 0 / 1.333 GB, free: 186.4 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat does not exist to compare? outputFormat=mat