Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.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.Sources.Examples.VoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource",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.001341/0.001341, allocations: 99.69 kB / 16.4 MB, free: 6.457 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.001292/0.001292, allocations: 192 kB / 17.34 MB, free: 5.719 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.398/1.398, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8275/0.8275, allocations: 126.7 MB / 417.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 75.17 kB / 0.5735 GB, free: 27.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1431, allocations: 78.86 MB / 0.6505 GB, free: 3.602 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sources.Examples.VoltageSource): time 0.004841/0.148, allocations: 3.201 MB / 0.6537 GB, free: 392 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002194/0.1502, allocations: 1.371 MB / 0.655 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.1503, allocations: 7.938 kB / 0.655 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.1514, allocations: 330.7 kB / 0.6553 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003433/0.1517, allocations: 147.2 kB / 0.6555 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003794/0.1521, allocations: 153.6 kB / 0.6556 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004024/0.1525, allocations: 330.8 kB / 0.6559 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004426/0.153, allocations: 255.9 kB / 0.6562 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001897/0.1532, allocations: 139.5 kB / 0.6563 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002804/0.1535, allocations: 151.4 kB / 0.6564 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.873e-05/0.1535, allocations: 20 kB / 0.6565 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003185/0.1538, allocations: 167.6 kB / 0.6566 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.636e-05/0.154, allocations: 79.8 kB / 0.6567 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.1541, allocations: 127.3 kB / 0.6568 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004675/0.1546, allocations: 354.7 kB / 0.6572 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1546, allocations: 0 / 0.6572 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1546, allocations: 4 kB / 0.6572 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.1546, allocations: 0 / 0.6572 GB, free: 12.78 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.000902/0.1555, allocations: 0.5453 MB / 0.6577 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.1556, allocations: 12.02 kB / 0.6577 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.695e-05/0.1556, allocations: 62.67 kB / 0.6578 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005836/0.1562, allocations: 84.72 kB / 0.6578 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.1566, allocations: 252 kB / 0.6581 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.1566, allocations: 12.81 kB / 0.6581 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.561e-05/0.1566, allocations: 20.38 kB / 0.6581 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005129/0.1572, allocations: 320.4 kB / 0.6584 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1572, allocations: 0 / 0.6584 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.521e-05/0.1572, allocations: 4 kB / 0.6584 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.174e-05/0.1573, allocations: 24.42 kB / 0.6584 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003889/0.1577, allocations: 213.5 kB / 0.6587 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/0.1593, allocations: 1.49 MB / 0.6601 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004331/0.1598, allocations: 203.6 kB / 0.6603 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.1599, allocations: 44.83 kB / 0.6603 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.1599, allocations: 8 kB / 0.6604 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.16, allocations: 34.56 kB / 0.6604 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.16, allocations: 0 / 0.6604 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0005829/0.1605, allocations: 259.4 kB / 0.6606 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.1606, allocations: 59.41 kB / 0.6607 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000213/0.1608, allocations: 215.6 kB / 0.6609 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.1608, allocations: 25.7 kB / 0.6609 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.161, allocations: 172.1 kB / 0.6611 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.161, allocations: 35.72 kB / 0.6611 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.417e-05/0.1611, allocations: 33.7 kB / 0.6611 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1612, allocations: 326.8 kB / 0.6615 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.1613, allocations: 47.91 kB / 0.6615 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.1615, allocations: 116.5 kB / 0.6616 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002712/0.1618, allocations: 168.4 kB / 0.6618 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1618, allocations: 0 / 0.6618 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003949/0.1622, allocations: 218.1 kB / 0.662 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1622, allocations: 5.719 kB / 0.662 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.1622, allocations: 7.984 kB / 0.662 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001635/0.1624, allocations: 29.12 kB / 0.662 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.1625, allocations: 43.92 kB / 0.6621 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/0.1637, allocations: 1.422 MB / 0.6635 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.1639, allocations: 23.88 kB / 0.6635 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.1639, allocations: 11.94 kB / 0.6635 GB, free: 5.68 MB / 0.4981 GB 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 (18): * Single equations (assignments): 17 * 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.0001432/0.164, allocations: 150.8 kB / 0.6636 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.234e-05/0.1641, allocations: 15.91 kB / 0.6636 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.417e-05/0.1641, allocations: 21.39 kB / 0.6637 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1641, allocations: 4.062 kB / 0.6637 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.1641, allocations: 4 kB / 0.6637 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1642, allocations: 0 / 0.6637 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006403/0.1648, allocations: 483.6 kB / 0.6641 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.1648, allocations: 3.984 kB / 0.6641 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.752e-05/0.1649, allocations: 15.94 kB / 0.6642 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.642e-05/0.165, allocations: 24.84 kB / 0.6642 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.165, allocations: 4 kB / 0.6642 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/0.1661, allocations: 1.421 MB / 0.6656 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1661, allocations: 80 / 0.6656 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003138/0.1664, allocations: 244.2 kB / 0.6658 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.981e-05/0.1665, allocations: 100.9 kB / 0.6659 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.1666, allocations: 8.094 kB / 0.6659 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.1667, allocations: 11.98 kB / 0.6659 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/0.1667, allocations: 3.938 kB / 0.6659 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.1668, allocations: 8 kB / 0.6659 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001382/0.1669, allocations: 148.2 kB / 0.6661 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1669, allocations: 0 / 0.6661 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003503/0.1673, allocations: 59.84 kB / 0.6661 GB, free: 2.734 MB / 0.4981 GB 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 (7): * Single equations (assignments): 6 * 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.0006509/0.1679, allocations: 0.7701 MB / 0.6669 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004583/0.1684, allocations: 226.9 kB / 0.6671 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1684, allocations: 8.125 kB / 0.6671 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002224/0.1686, allocations: 162.6 kB / 0.6673 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/0.169, allocations: 40.33 kB / 0.6673 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002604/0.1716, allocations: 2.142 MB / 0.6694 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.172, allocations: 0.7514 MB / 0.6701 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001095/0.1721, allocations: 29.53 kB / 0.6702 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.608e-05/0.1722, allocations: 67.34 kB / 0.6702 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of SimCode: time 4.81e-07/0.1723, allocations: 0 / 0.6702 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02879/0.2011, allocations: 4.019 MB / 0.6741 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.967/10.17, allocations: 8.594 kB / 0.6742 GB, free: 10.43 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource.fmu > IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)