Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.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: "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_Resistance",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.001052/0.001052, allocations: 100.2 kB / 16.4 MB, free: 6.496 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.001087/0.001087, allocations: 193.2 kB / 17.34 MB, free: 5.77 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7345/0.7345, allocations: 115.3 MB / 406.5 MB, free: 6.215 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 70.84 kB / 0.5572 GB, free: 32.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1659, allocations: 76.17 MB / 0.6316 GB, free: 4.926 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.004806/0.1707, allocations: 3.056 MB / 0.6345 GB, free: 1.852 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002046/0.1728, allocations: 1.324 MB / 0.6358 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.173, allocations: 7.938 kB / 0.6358 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009838/0.174, allocations: 340.6 kB / 0.6362 GB, free: 184 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000312/0.1743, allocations: 139.3 kB / 0.6363 GB, free: 44 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003448/0.1747, allocations: 139.6 kB / 0.6364 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003405/0.175, allocations: 303 kB / 0.6367 GB, free: 15.61 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004158/0.1755, allocations: 231.1 kB / 0.6369 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.1756, allocations: 135.5 kB / 0.6371 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002794/0.1759, allocations: 139.5 kB / 0.6372 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.386e-05/0.176, allocations: 16 kB / 0.6372 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002804/0.1762, allocations: 167.6 kB / 0.6374 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.056e-05/0.1763, allocations: 79.8 kB / 0.6375 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.1765, allocations: 111.5 kB / 0.6376 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000411/0.1769, allocations: 343.8 kB / 0.6379 GB, free: 14.41 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1769, allocations: 0 / 0.6379 GB, free: 14.41 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1769, allocations: 0 / 0.6379 GB, free: 14.41 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.1769, allocations: 0 / 0.6379 GB, free: 14.41 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008042/0.1777, allocations: 0.5069 MB / 0.6384 GB, free: 13.85 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.1778, allocations: 12.03 kB / 0.6384 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.359e-05/0.1778, allocations: 58.72 kB / 0.6385 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005666/0.1784, allocations: 80.58 kB / 0.6385 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.1787, allocations: 243.9 kB / 0.6388 GB, free: 13.42 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.1788, allocations: 12.75 kB / 0.6388 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.201e-05/0.1788, allocations: 16.38 kB / 0.6388 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004252/0.1792, allocations: 311 kB / 0.6391 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.1793, allocations: 0 / 0.6391 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/0.1793, allocations: 12 kB / 0.6391 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-05/0.1793, allocations: 12.38 kB / 0.6391 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002851/0.1796, allocations: 200.9 kB / 0.6393 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/0.1811, allocations: 1.464 MB / 0.6407 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.1814, allocations: 175.7 kB / 0.6409 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.535e-05/0.1814, allocations: 32.84 kB / 0.6409 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.1815, allocations: 0 / 0.6409 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.1815, allocations: 30.62 kB / 0.641 GB, free: 10.94 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.1815, allocations: 4 kB / 0.641 GB, free: 10.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004789/0.182, allocations: 231.3 kB / 0.6412 GB, free: 10.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.182, allocations: 51.41 kB / 0.6412 GB, free: 10.62 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.1822, allocations: 199.4 kB / 0.6414 GB, free: 10.42 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.1822, allocations: 29.7 kB / 0.6415 GB, free: 10.38 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.578e-05/0.1823, allocations: 163.6 kB / 0.6416 GB, free: 10.22 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.1824, allocations: 27.64 kB / 0.6416 GB, free: 10.19 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-05/0.1824, allocations: 37.66 kB / 0.6417 GB, free: 10.15 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.1825, allocations: 330.8 kB / 0.642 GB, free: 9.816 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.177e-05/0.1826, allocations: 39.97 kB / 0.642 GB, free: 9.777 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.1827, allocations: 102.3 kB / 0.6421 GB, free: 9.648 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.1829, allocations: 148.6 kB / 0.6423 GB, free: 9.473 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1829, allocations: 0 / 0.6423 GB, free: 9.473 MB / 494.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002887/0.1832, allocations: 182.2 kB / 0.6424 GB, free: 9.285 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.1832, allocations: 8 kB / 0.6424 GB, free: 9.277 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.1832, allocations: 12.22 kB / 0.6425 GB, free: 9.266 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001629/0.1834, allocations: 24.84 kB / 0.6425 GB, free: 9.238 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.1835, allocations: 27.92 kB / 0.6425 GB, free: 9.211 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00105/0.1846, allocations: 1.418 MB / 0.6439 GB, free: 7.652 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.1847, allocations: 19.88 kB / 0.6439 GB, free: 7.633 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.1847, allocations: 4 kB / 0.6439 GB, free: 7.629 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * 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.0001457/0.1849, allocations: 161.7 kB / 0.6441 GB, free: 7.461 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.642e-05/0.1849, allocations: 15.81 kB / 0.6441 GB, free: 7.445 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.883e-05/0.185, allocations: 17.41 kB / 0.6441 GB, free: 7.426 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.185, allocations: 4 kB / 0.6441 GB, free: 7.422 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.185, allocations: 0 / 0.6441 GB, free: 7.422 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.185, allocations: 3.984 kB / 0.6441 GB, free: 7.418 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004947/0.1855, allocations: 439.2 kB / 0.6445 GB, free: 6.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1855, allocations: 3.984 kB / 0.6445 GB, free: 6.926 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.124e-05/0.1855, allocations: 11.98 kB / 0.6445 GB, free: 6.914 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-05/0.1856, allocations: 28.84 kB / 0.6446 GB, free: 6.883 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.1856, allocations: 0 / 0.6446 GB, free: 6.883 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000936/0.1866, allocations: 1.414 MB / 0.646 GB, free: 5.332 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-06/0.1866, allocations: 3.938 kB / 0.646 GB, free: 5.328 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002056/0.1868, allocations: 216.5 kB / 0.6462 GB, free: 5.098 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.596e-05/0.1869, allocations: 97.02 kB / 0.6463 GB, free: 4.984 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.1869, allocations: 4 kB / 0.6463 GB, free: 4.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.187, allocations: 11.98 kB / 0.6463 GB, free: 4.969 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.101e-05/0.1871, allocations: 4 kB / 0.6463 GB, free: 4.965 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.1871, allocations: 0 / 0.6463 GB, free: 4.965 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001173/0.1872, allocations: 144.4 kB / 0.6464 GB, free: 4.824 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1872, allocations: 0 / 0.6464 GB, free: 4.824 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003258/0.1875, allocations: 51.84 kB / 0.6465 GB, free: 4.773 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * 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.0005203/0.188, allocations: 0.7495 MB / 0.6472 GB, free: 3.992 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003722/0.1884, allocations: 207 kB / 0.6474 GB, free: 3.777 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1884, allocations: 4.125 kB / 0.6474 GB, free: 3.773 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.1886, allocations: 150.7 kB / 0.6475 GB, free: 3.613 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.189, allocations: 39.8 kB / 0.6476 GB, free: 3.574 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/0.1911, allocations: 2.04 MB / 0.6496 GB, free: 1.395 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.1915, allocations: 0.7591 MB / 0.6503 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.935e-05/0.1916, allocations: 25.53 kB / 0.6503 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.603e-05/0.1917, allocations: 55.36 kB / 0.6504 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1917, allocations: 192 / 0.6504 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02293/0.2146, allocations: 3.75 MB / 0.6541 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.995/9.21, allocations: 6.062 kB / 0.6541 GB, free: 12.89 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_Resistance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_Resistance.fmu > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)