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: "" <> buildModelFMU(IBPSA.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_Resistor",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.001344/0.001345, allocations: 105.5 kB / 16.4 MB, free: 6.449 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.001368/0.001368, allocations: 193.2 kB / 17.34 MB, free: 5.738 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.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7351/0.7351, allocations: 115.3 MB / 406.5 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001232, allocations: 66.7 kB / 0.5572 GB, free: 32.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1588, allocations: 76.18 MB / 0.6316 GB, free: 4.961 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.Resistor): time 0.005613/0.1645, allocations: 3.811 MB / 0.6353 GB, free: 1.129 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003118/0.1676, allocations: 1.741 MB / 0.637 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003035/0.168, allocations: 11.94 kB / 0.637 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001448/0.1695, allocations: 496.2 kB / 0.6375 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006718/0.1701, allocations: 222.9 kB / 0.6377 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006268/0.1708, allocations: 207.5 kB / 0.6379 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006422/0.1714, allocations: 474.4 kB / 0.6383 GB, free: 14 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006251/0.1721, allocations: 364 kB / 0.6387 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003925/0.1725, allocations: 195.3 kB / 0.6389 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004907/0.173, allocations: 219.2 kB / 0.6391 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.349e-05/0.1731, allocations: 28 kB / 0.6391 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004746/0.1735, allocations: 243.5 kB / 0.6393 GB, free: 12.97 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001628/0.1737, allocations: 131.6 kB / 0.6395 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002326/0.1739, allocations: 171.2 kB / 0.6396 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007591/0.1747, allocations: 0.5031 MB / 0.6401 GB, free: 12.17 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1747, allocations: 4 kB / 0.6401 GB, free: 12.16 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1747, allocations: 0 / 0.6401 GB, free: 12.16 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.804e-05/0.1748, allocations: 0 / 0.6401 GB, free: 12.16 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.001238/0.176, allocations: 0.6239 MB / 0.6407 GB, free: 11.49 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.1761, allocations: 8.031 kB / 0.6407 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001115/0.1762, allocations: 66.72 kB / 0.6408 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.1772, allocations: 136.4 kB / 0.6409 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005245/0.1778, allocations: 303.5 kB / 0.6412 GB, free: 10.94 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.1778, allocations: 21.03 kB / 0.6412 GB, free: 10.92 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.337e-05/0.1779, allocations: 32.36 kB / 0.6413 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007542/0.1786, allocations: 463.7 kB / 0.6417 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.1787, allocations: 0 / 0.6417 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.855e-05/0.1787, allocations: 19.98 kB / 0.6417 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.268e-05/0.1788, allocations: 32.55 kB / 0.6418 GB, free: 10.35 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005216/0.1793, allocations: 321.9 kB / 0.6421 GB, free: 10.03 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002429/0.1817, allocations: 2.173 MB / 0.6442 GB, free: 7.645 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003758/0.1821, allocations: 251.8 kB / 0.6444 GB, free: 7.371 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/0.1824, allocations: 112.2 kB / 0.6445 GB, free: 7.262 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.1824, allocations: 4 kB / 0.6445 GB, free: 7.258 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.1824, allocations: 30.56 kB / 0.6446 GB, free: 7.219 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.763e-06/0.1824, allocations: 0 / 0.6446 GB, free: 7.219 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.00063/0.1831, allocations: 303.5 kB / 0.6449 GB, free: 6.895 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.1831, allocations: 51.41 kB / 0.6449 GB, free: 6.832 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003024/0.1834, allocations: 274.5 kB / 0.6452 GB, free: 6.559 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.1835, allocations: 29.7 kB / 0.6452 GB, free: 6.523 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.1836, allocations: 207.9 kB / 0.6454 GB, free: 6.316 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.1836, allocations: 51.3 kB / 0.6455 GB, free: 6.266 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.658e-05/0.1837, allocations: 45.94 kB / 0.6455 GB, free: 6.211 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1839, allocations: 334.8 kB / 0.6458 GB, free: 5.875 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.869e-05/0.184, allocations: 60.42 kB / 0.6459 GB, free: 5.816 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.1842, allocations: 145.7 kB / 0.646 GB, free: 5.637 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003429/0.1845, allocations: 225.4 kB / 0.6462 GB, free: 5.379 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1845, allocations: 0 / 0.6462 GB, free: 5.379 MB / 494.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004181/0.185, allocations: 266.4 kB / 0.6465 GB, free: 5.109 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.185, allocations: 12 kB / 0.6465 GB, free: 5.098 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.185, allocations: 0 / 0.6465 GB, free: 5.098 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001657/0.1852, allocations: 28.84 kB / 0.6465 GB, free: 5.066 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.1854, allocations: 51.84 kB / 0.6466 GB, free: 5.016 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001132/0.1865, allocations: 1.422 MB / 0.648 GB, free: 3.453 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.1867, allocations: 31.62 kB / 0.648 GB, free: 3.422 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.1867, allocations: 12 kB / 0.648 GB, free: 3.41 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.000206/0.1869, allocations: 169.8 kB / 0.6482 GB, free: 3.234 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.144e-05/0.187, allocations: 23.72 kB / 0.6482 GB, free: 3.211 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.924e-05/0.187, allocations: 25.83 kB / 0.6482 GB, free: 3.184 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.187, allocations: 4 kB / 0.6482 GB, free: 3.18 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.187, allocations: 0 / 0.6482 GB, free: 3.18 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1871, allocations: 0 / 0.6482 GB, free: 3.18 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.1881, allocations: 0.7063 MB / 0.6489 GB, free: 2.383 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.1881, allocations: 0 / 0.6489 GB, free: 2.383 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.394e-05/0.1882, allocations: 23.94 kB / 0.6489 GB, free: 2.359 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.57e-05/0.1883, allocations: 32.77 kB / 0.649 GB, free: 2.324 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.1883, allocations: 12.19 kB / 0.649 GB, free: 2.312 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001032/0.1894, allocations: 1.418 MB / 0.6504 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1894, allocations: 0 / 0.6504 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003199/0.1897, allocations: 309.2 kB / 0.6506 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.1898, allocations: 120.7 kB / 0.6508 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.834e-05/0.1899, allocations: 4 kB / 0.6508 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.19, allocations: 12 kB / 0.6508 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.1901, allocations: 19.86 kB / 0.6508 GB, free: 252 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.1901, allocations: 12 kB / 0.6508 GB, free: 240 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001766/0.1903, allocations: 190 kB / 0.651 GB, free: 48 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1903, allocations: 3.938 kB / 0.651 GB, free: 44 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004172/0.1907, allocations: 75.8 kB / 0.6511 GB, free: 15.96 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.0006648/0.1914, allocations: 0.8491 MB / 0.6519 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004443/0.1918, allocations: 270.5 kB / 0.6522 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1919, allocations: 4 kB / 0.6522 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002168/0.1921, allocations: 178.5 kB / 0.6523 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004542/0.1925, allocations: 72.36 kB / 0.6524 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003063/0.1956, allocations: 2.703 MB / 0.655 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.196, allocations: 0.7909 MB / 0.6558 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001376/0.1961, allocations: 46.27 kB / 0.6559 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.1963, allocations: 83.41 kB / 0.6559 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1963, allocations: 0 / 0.6559 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02655/0.2228, allocations: 5.447 MB / 0.6612 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.087/9.31, allocations: 7.172 kB / 0.6613 GB, free: 5.379 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_Resistor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_Resistor.fmu > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)