Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: translateModel(IBPSA.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor") translateModel(IBPSA.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 106.5 kB / 16.41 MB, free: 6.492 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.001161/0.001161, allocations: 193.2 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7254/0.7254, allocations: 115.3 MB / 406.5 MB, free: 6.215 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 64.3 kB / 0.5577 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.164, allocations: 76.18 MB / 0.6321 GB, free: 4.438 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.Resistor): time 0.005093/0.1691, allocations: 3.811 MB / 0.6358 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002608/0.1717, allocations: 1.737 MB / 0.6375 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001584/0.1719, allocations: 4 kB / 0.6375 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001383/0.1733, allocations: 0.4902 MB / 0.638 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004936/0.1738, allocations: 226.9 kB / 0.6382 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004965/0.1743, allocations: 213.6 kB / 0.6384 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004816/0.1748, allocations: 470.5 kB / 0.6388 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005673/0.1754, allocations: 361.1 kB / 0.6392 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002142/0.1756, allocations: 199.3 kB / 0.6394 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003748/0.176, allocations: 211.2 kB / 0.6396 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.571e-05/0.1761, allocations: 28 kB / 0.6396 GB, free: 12.69 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003878/0.1764, allocations: 247.4 kB / 0.6398 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.1766, allocations: 127.7 kB / 0.6399 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.1768, allocations: 179.1 kB / 0.6401 GB, free: 12.14 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005586/0.1773, allocations: 0.4907 MB / 0.6406 GB, free: 11.65 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1774, allocations: 0 / 0.6406 GB, free: 11.65 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1774, allocations: 0 / 0.6406 GB, free: 11.65 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.1774, allocations: 4 kB / 0.6406 GB, free: 11.65 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0009752/0.1784, allocations: 0.6315 MB / 0.6412 GB, free: 10.96 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.1784, allocations: 12.03 kB / 0.6412 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000907/0.1793, allocations: 140.4 kB / 0.6414 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000376/0.1797, allocations: 295.6 kB / 0.6416 GB, free: 10.49 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.867e-05/0.1797, allocations: 21.03 kB / 0.6417 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.705e-05/0.1798, allocations: 28.38 kB / 0.6417 GB, free: 10.44 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00066/0.1805, allocations: 463.9 kB / 0.6421 GB, free: 9.953 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.1805, allocations: 4 kB / 0.6421 GB, free: 9.949 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.836e-05/0.1805, allocations: 16 kB / 0.6422 GB, free: 9.934 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-05/0.1806, allocations: 28.48 kB / 0.6422 GB, free: 9.906 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004923/0.1811, allocations: 321.9 kB / 0.6425 GB, free: 9.59 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002025/0.1831, allocations: 2.185 MB / 0.6446 GB, free: 7.191 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003702/0.1835, allocations: 255.7 kB / 0.6449 GB, free: 6.914 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002199/0.1837, allocations: 108.8 kB / 0.645 GB, free: 6.805 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.301e-05/0.1838, allocations: 0 / 0.645 GB, free: 6.805 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.1838, allocations: 42.56 kB / 0.645 GB, free: 6.754 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/0.1838, allocations: 0 / 0.645 GB, free: 6.754 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005925/0.1844, allocations: 295.5 kB / 0.6453 GB, free: 6.438 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.1844, allocations: 55.41 kB / 0.6453 GB, free: 6.371 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.1847, allocations: 270.5 kB / 0.6456 GB, free: 6.102 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.1847, allocations: 29.7 kB / 0.6456 GB, free: 6.066 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.1849, allocations: 207.8 kB / 0.6458 GB, free: 5.859 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.424e-05/0.185, allocations: 51.25 kB / 0.6459 GB, free: 5.809 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.985e-05/0.185, allocations: 45.95 kB / 0.6459 GB, free: 5.754 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.1851, allocations: 338.8 kB / 0.6462 GB, free: 5.414 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.327e-05/0.1852, allocations: 52.44 kB / 0.6463 GB, free: 5.363 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.1854, allocations: 145.7 kB / 0.6464 GB, free: 5.184 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002612/0.1857, allocations: 221.8 kB / 0.6466 GB, free: 4.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.1857, allocations: 0 / 0.6466 GB, free: 4.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004068/0.1861, allocations: 265.9 kB / 0.6469 GB, free: 4.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1861, allocations: 8 kB / 0.6469 GB, free: 4.652 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.1861, allocations: 4 kB / 0.6469 GB, free: 4.648 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001708/0.1863, allocations: 33.16 kB / 0.6469 GB, free: 4.613 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.1865, allocations: 47.92 kB / 0.647 GB, free: 4.566 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/0.1876, allocations: 1.422 MB / 0.6484 GB, free: 3.004 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.1878, allocations: 27.75 kB / 0.6484 GB, free: 2.977 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.1878, allocations: 12 kB / 0.6484 GB, free: 2.965 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001514/0.188, allocations: 169.6 kB / 0.6486 GB, free: 2.789 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.757e-05/0.1881, allocations: 23.72 kB / 0.6486 GB, free: 2.766 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.534e-05/0.1881, allocations: 33.92 kB / 0.6486 GB, free: 2.73 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.1881, allocations: 0 / 0.6486 GB, free: 2.73 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1881, allocations: 0 / 0.6486 GB, free: 2.73 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1881, allocations: 4 kB / 0.6486 GB, free: 2.727 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008668/0.189, allocations: 0.6985 MB / 0.6493 GB, free: 1.938 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.189, allocations: 7.984 kB / 0.6493 GB, free: 1.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.714e-05/0.1891, allocations: 23.98 kB / 0.6493 GB, free: 1.906 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.098e-05/0.1892, allocations: 28.78 kB / 0.6494 GB, free: 1.875 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.1892, allocations: 7.938 kB / 0.6494 GB, free: 1.867 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009431/0.1902, allocations: 1.407 MB / 0.6508 GB, free: 332 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.1902, allocations: 3.938 kB / 0.6508 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003215/0.1905, allocations: 321.2 kB / 0.6511 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.658e-05/0.1906, allocations: 120.8 kB / 0.6512 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.936e-05/0.1907, allocations: 7.984 kB / 0.6512 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.1908, allocations: 8 kB / 0.6512 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.1909, allocations: 19.92 kB / 0.6512 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.1909, allocations: 4 kB / 0.6512 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000178/0.1911, allocations: 190 kB / 0.6514 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1911, allocations: 4 kB / 0.6514 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003927/0.1915, allocations: 79.75 kB / 0.6515 GB, free: 15.52 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001221/0.1916, allocations: 102.4 kB / 0.6516 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004371/0.1921, allocations: 277.3 kB / 0.6518 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1921, allocations: 8.25 kB / 0.6519 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002024/0.1923, allocations: 182.5 kB / 0.652 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004635/0.1928, allocations: 54.59 kB / 0.6521 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008687/0.1936, allocations: 0.5322 MB / 0.6526 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.194, allocations: 0.787 MB / 0.6534 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001297/0.1942, allocations: 50.19 kB / 0.6534 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.274e-05/0.1942, allocations: 19.44 kB / 0.6534 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1942, allocations: 0 / 0.6534 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of Templates: time 0.006135/0.2004, allocations: 2.734 MB / 0.6561 GB, free: 10.72 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)