Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 98.08 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 217.4 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.396/1.396, allocations: 230.6 MB / 256.8 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002534/0.002534, allocations: 289.3 kB / 313.5 MB, free: 2.793 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.22/1.22, allocations: 180.6 MB / 0.5377 GB, free: 12.92 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_RCModel",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_RCModel",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002846/0.002846, allocations: 94.3 kB / 0.7403 GB, free: 28.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.16, allocations: 95.37 MB / 0.8335 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.RCModel): time 0.006406/0.1664, allocations: 4.536 MB / 0.8379 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003003/0.1694, allocations: 1.951 MB / 0.8398 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.1696, allocations: 11.94 kB / 0.8398 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001671/0.1713, allocations: 0.6328 MB / 0.8404 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005182/0.1718, allocations: 258.6 kB / 0.8407 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005783/0.1724, allocations: 255.4 kB / 0.8409 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007029/0.1731, allocations: 0.615 MB / 0.8415 GB, free: 384 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005506/0.1736, allocations: 343.2 kB / 0.8419 GB, free: 36 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003075/0.1739, allocations: 255.1 kB / 0.8421 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004901/0.1744, allocations: 279 kB / 0.8424 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.007e-05/0.1745, allocations: 36 kB / 0.8424 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004269/0.1749, allocations: 263.5 kB / 0.8427 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001558/0.175, allocations: 155.5 kB / 0.8428 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002283/0.1753, allocations: 222.9 kB / 0.843 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0007388/0.176, allocations: 0.611 MB / 0.8436 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.176, allocations: 0 / 0.8436 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.282e-06/0.176, allocations: 0 / 0.8436 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.176, allocations: 0 / 0.8436 GB, free: 14.23 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001233/0.1773, allocations: 0.6571 MB / 0.8443 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.1773, allocations: 13.88 kB / 0.8443 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.159e-05/0.1773, allocations: 13.19 kB / 0.8443 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.279e-05/0.1774, allocations: 74.72 kB / 0.8443 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000976/0.1784, allocations: 148.5 kB / 0.8445 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004771/0.1789, allocations: 284.8 kB / 0.8448 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.1789, allocations: 29.31 kB / 0.8448 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.986e-05/0.1789, allocations: 32.38 kB / 0.8448 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008171/0.1798, allocations: 0.5314 MB / 0.8453 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.1798, allocations: 0 / 0.8453 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.504e-05/0.1798, allocations: 16 kB / 0.8454 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.863e-05/0.1799, allocations: 32.64 kB / 0.8454 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006374/0.1805, allocations: 394.2 kB / 0.8458 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002708/0.1832, allocations: 2.368 MB / 0.8481 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005176/0.1837, allocations: 248.8 kB / 0.8483 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.1839, allocations: 96.81 kB / 0.8484 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.1839, allocations: 4 kB / 0.8484 GB, free: 9 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.1839, allocations: 34.56 kB / 0.8484 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=20): time 1.333e-06/0.1839, allocations: 0 / 0.8484 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.002153/0.1861, allocations: 0.8999 MB / 0.8493 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.1861, allocations: 67.33 kB / 0.8494 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000335/0.1865, allocations: 300.5 kB / 0.8497 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/0.1865, allocations: 33.64 kB / 0.8497 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.1867, allocations: 236.1 kB / 0.8499 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.921e-05/0.1868, allocations: 79.28 kB / 0.85 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.1869, allocations: 62.03 kB / 0.8501 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.187, allocations: 338.8 kB / 0.8504 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.1872, allocations: 100.6 kB / 0.8505 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/0.1875, allocations: 196.3 kB / 0.8507 GB, free: 6.543 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004501/0.1879, allocations: 320.1 kB / 0.851 GB, free: 6.195 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1879, allocations: 0 / 0.851 GB, free: 6.195 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007971/0.1887, allocations: 442 kB / 0.8514 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.1887, allocations: 8 kB / 0.8514 GB, free: 5.742 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.1887, allocations: 4 kB / 0.8514 GB, free: 5.738 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003601/0.1891, allocations: 102.7 kB / 0.8515 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/0.1894, allocations: 63.89 kB / 0.8516 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00359/0.193, allocations: 4.096 MB / 0.8556 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.1932, allocations: 8 kB / 0.8556 GB, free: 1.117 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.648e-05/0.1932, allocations: 16 kB / 0.8556 GB, free: 1.102 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002113/0.1934, allocations: 177.7 kB / 0.8558 GB, free: 0.918 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.743e-05/0.1935, allocations: 43.78 kB / 0.8558 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.023e-05/0.1936, allocations: 38.41 kB / 0.8558 GB, free: 0.8359 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1936, allocations: 4 kB / 0.8558 GB, free: 0.832 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.1936, allocations: 0 / 0.8558 GB, free: 0.832 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.1936, allocations: 3.984 kB / 0.8558 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004929/0.1941, allocations: 376.4 kB / 0.8562 GB, free: 428 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1941, allocations: 0 / 0.8562 GB, free: 428 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/0.1943, allocations: 35.92 kB / 0.8562 GB, free: 392 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003142/0.1946, allocations: 94.5 kB / 0.8563 GB, free: 288 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.1946, allocations: 0 / 0.8563 GB, free: 288 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003513/0.1981, allocations: 4.078 MB / 0.8603 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.1981, allocations: 7.922 kB / 0.8603 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008934/0.199, allocations: 0.5585 MB / 0.8609 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.1991, allocations: 47.81 kB / 0.8609 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.206e-05/0.1992, allocations: 8 kB / 0.8609 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.1994, allocations: 15.98 kB / 0.8609 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.1994, allocations: 16.03 kB / 0.8609 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.1995, allocations: 11.94 kB / 0.861 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002361/0.1997, allocations: 211.1 kB / 0.8612 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.1997, allocations: 0 / 0.8612 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000473/0.2002, allocations: 100 kB / 0.8613 GB, free: 10.87 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0012/0.2014, allocations: 1.101 MB / 0.8623 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009065/0.2023, allocations: 0.5899 MB / 0.8629 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.2023, allocations: 0 / 0.8629 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005461/0.2028, allocations: 460.2 kB / 0.8633 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000495/0.2033, allocations: 79.66 kB / 0.8634 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004516/0.2078, allocations: 3.392 MB / 0.8667 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004738/0.2083, allocations: 0.835 MB / 0.8675 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001966/0.2085, allocations: 58.92 kB / 0.8676 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/0.2087, allocations: 111.4 kB / 0.8677 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of SimCode: time 6.01e-07/0.2087, allocations: 0 / 0.8677 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03992/0.2486, allocations: 8.139 MB / 0.8757 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.03, allocations: 11.77 kB / 0.8757 GB, free: 12.02 MB / 0.6231 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_RCModel.fmu > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.14299459097674] Failed to read output from testmodel.py, exit status != 0: 12.206871658971068 12.234256146 12.053350421 Calling exit ...