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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 106.4 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002397/0.002397, allocations: 286.9 kB / 303 MB, free: 9.504 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.164/1.164, allocations: 180.9 MB / 0.5261 GB, free: 14.66 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002728/0.002728, allocations: 102.2 kB / 0.7248 GB, free: 40.09 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1452, allocations: 94.16 MB / 0.8167 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.RCModel): time 0.007101/0.1523, allocations: 4.408 MB / 0.821 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003009/0.1553, allocations: 1.877 MB / 0.8228 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001898/0.1555, allocations: 8 kB / 0.8228 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001666/0.1572, allocations: 0.607 MB / 0.8234 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005993/0.1578, allocations: 266.6 kB / 0.8237 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006332/0.1584, allocations: 254.1 kB / 0.8239 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007445/0.1591, allocations: 0.611 MB / 0.8245 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005815/0.1597, allocations: 371.1 kB / 0.8249 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002849/0.16, allocations: 251.1 kB / 0.8251 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004929/0.1605, allocations: 282.9 kB / 0.8254 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.812e-05/0.1606, allocations: 40 kB / 0.8254 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004381/0.161, allocations: 259.5 kB / 0.8257 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.1612, allocations: 155.5 kB / 0.8258 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002133/0.1614, allocations: 218.9 kB / 0.826 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007464/0.1621, allocations: 0.6071 MB / 0.8266 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1621, allocations: 0 / 0.8266 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1621, allocations: 0 / 0.8266 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.345e-06/0.1621, allocations: 0 / 0.8266 GB, free: 11.24 MB / 0.5762 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.001321/0.1635, allocations: 0.7401 MB / 0.8274 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.1635, allocations: 12.03 kB / 0.8274 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.449e-05/0.1636, allocations: 74.66 kB / 0.8274 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000941/0.1645, allocations: 156.5 kB / 0.8276 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005291/0.1651, allocations: 338.6 kB / 0.8279 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.1651, allocations: 21.38 kB / 0.8279 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.386e-05/0.1651, allocations: 32.38 kB / 0.828 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007878/0.1659, allocations: 0.5394 MB / 0.8285 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.1659, allocations: 0 / 0.8285 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.837e-05/0.166, allocations: 15.98 kB / 0.8285 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.986e-05/0.166, allocations: 32.64 kB / 0.8285 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000606/0.1666, allocations: 394.2 kB / 0.8289 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002814/0.1695, allocations: 2.396 MB / 0.8313 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005391/0.17, allocations: 242.5 kB / 0.8315 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.1702, allocations: 104.7 kB / 0.8316 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.1702, allocations: 4 kB / 0.8316 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.1702, allocations: 34.56 kB / 0.8316 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=20): time 1.884e-06/0.1702, allocations: 0 / 0.8316 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.002243/0.1725, allocations: 1.126 MB / 0.8327 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.1725, allocations: 59.41 kB / 0.8328 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003265/0.1728, allocations: 300.5 kB / 0.8331 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.1729, allocations: 33.7 kB / 0.8331 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.173, allocations: 232.1 kB / 0.8333 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.705e-05/0.1731, allocations: 91.2 kB / 0.8334 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.1732, allocations: 65.92 kB / 0.8335 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.1734, allocations: 342.8 kB / 0.8338 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.1736, allocations: 96.61 kB / 0.8339 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002534/0.1738, allocations: 191.8 kB / 0.8341 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004523/0.1743, allocations: 318 kB / 0.8344 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1743, allocations: 0 / 0.8344 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007567/0.175, allocations: 449.3 kB / 0.8348 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.175, allocations: 4 kB / 0.8348 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.175, allocations: 4 kB / 0.8348 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003563/0.1754, allocations: 94.69 kB / 0.8349 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002682/0.1757, allocations: 63.91 kB / 0.835 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003468/0.1791, allocations: 4.399 MB / 0.8393 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.1793, allocations: 8 kB / 0.8393 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.1794, allocations: 12 kB / 0.8393 GB, free: 13.25 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.0002251/0.1796, allocations: 173.8 kB / 0.8394 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.582e-05/0.1797, allocations: 35.84 kB / 0.8395 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.2e-05/0.1797, allocations: 46.31 kB / 0.8395 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.1797, allocations: 0 / 0.8395 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/0.1797, allocations: 4 kB / 0.8395 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1797, allocations: 3.984 kB / 0.8395 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004802/0.1802, allocations: 397.4 kB / 0.8399 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.1802, allocations: 3.938 kB / 0.8399 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.1804, allocations: 31.98 kB / 0.8399 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002988/0.1807, allocations: 98.44 kB / 0.84 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.1807, allocations: 4 kB / 0.84 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0034/0.1841, allocations: 4.388 MB / 0.8443 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.1841, allocations: 3.938 kB / 0.8443 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008019/0.1849, allocations: 0.5613 MB / 0.8449 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/0.1851, allocations: 120.9 kB / 0.845 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.813e-05/0.1851, allocations: 7.984 kB / 0.845 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.1853, allocations: 12 kB / 0.845 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.1854, allocations: 24.03 kB / 0.845 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.1854, allocations: 7.938 kB / 0.845 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002064/0.1856, allocations: 215 kB / 0.8452 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.1856, allocations: 4 kB / 0.8452 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004383/0.186, allocations: 92 kB / 0.8453 GB, free: 6.516 MB / 0.5919 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.001126/0.1872, allocations: 1.104 MB / 0.8464 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008455/0.188, allocations: 0.5938 MB / 0.847 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.188, allocations: 0 / 0.847 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005037/0.1885, allocations: 462 kB / 0.8474 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004529/0.189, allocations: 84.72 kB / 0.8475 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004266/0.1932, allocations: 3.378 MB / 0.8508 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004941/0.1937, allocations: 0.835 MB / 0.8516 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002007/0.1939, allocations: 54.94 kB / 0.8517 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.1941, allocations: 111.4 kB / 0.8518 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of SimCode: time 5.61e-07/0.1941, allocations: 4 kB / 0.8518 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04017/0.2342, allocations: 7.878 MB / 0.8595 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.491/9.725, allocations: 3.109 kB / 0.8595 GB, free: 7.914 MB / 0.6075 GB " [Timeout remaining time 650] (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 sys.exit(0), Time elapsed: 13.578480341937393] Failed to read output from testmodel.py, exit status != 0: 9.808383512310684 9.82154366 9.65674687 Calling exit ...