Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",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.001117/0.001117, allocations: 110.5 kB / 16.41 MB, free: 6.488 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.001271/0.001271, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.35/1.35, 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.7948/0.7948, allocations: 122.9 MB / 414.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 63.05 kB / 0.5679 GB, free: 28.92 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1484, allocations: 77.94 MB / 0.6441 GB, free: 9.523 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004386/0.1528, allocations: 2.418 MB / 0.6464 GB, free: 7.094 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003037/0.1559, allocations: 1.563 MB / 0.6479 GB, free: 5.52 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001896/0.1561, allocations: 4 kB / 0.6479 GB, free: 5.516 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007958/0.157, allocations: 182.1 kB / 0.6481 GB, free: 5.34 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005399/0.1575, allocations: 159.3 kB / 0.6483 GB, free: 5.184 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005694/0.1581, allocations: 179.5 kB / 0.6484 GB, free: 5.008 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003942/0.1585, allocations: 215.3 kB / 0.6487 GB, free: 4.797 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003665/0.1589, allocations: 125.3 kB / 0.6488 GB, free: 4.676 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002167/0.1591, allocations: 95.67 kB / 0.6489 GB, free: 4.582 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003784/0.1595, allocations: 95.66 kB / 0.649 GB, free: 4.488 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.186e-05/0.1596, allocations: 12 kB / 0.649 GB, free: 4.477 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00048/0.1601, allocations: 215.6 kB / 0.6492 GB, free: 4.266 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.1602, allocations: 63.81 kB / 0.6492 GB, free: 4.203 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.1603, allocations: 83.59 kB / 0.6493 GB, free: 4.121 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005669/0.1609, allocations: 298.9 kB / 0.6496 GB, free: 3.828 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.1609, allocations: 0 / 0.6496 GB, free: 3.828 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1609, allocations: 0 / 0.6496 GB, free: 3.828 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.1609, allocations: 0 / 0.6496 GB, free: 3.828 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008684/0.1618, allocations: 490.6 kB / 0.6501 GB, free: 3.301 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.1618, allocations: 8.625 kB / 0.6501 GB, free: 3.293 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.11e-05/0.1619, allocations: 54.67 kB / 0.6501 GB, free: 3.23 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008303/0.1628, allocations: 96.7 kB / 0.6502 GB, free: 3.137 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003431/0.1631, allocations: 233.9 kB / 0.6504 GB, free: 2.871 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.1631, allocations: 8.656 kB / 0.6504 GB, free: 2.863 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.524e-05/0.1632, allocations: 16.38 kB / 0.6505 GB, free: 2.848 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005359/0.1637, allocations: 295.3 kB / 0.6507 GB, free: 2.523 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.1638, allocations: 0 / 0.6507 GB, free: 2.523 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/0.1638, allocations: 8 kB / 0.6508 GB, free: 2.516 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.921e-05/0.1638, allocations: 16.22 kB / 0.6508 GB, free: 2.496 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004362/0.1643, allocations: 228.4 kB / 0.651 GB, free: 2.273 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002059/0.1663, allocations: 1.595 MB / 0.6525 GB, free: 0.543 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004096/0.1668, allocations: 323.2 kB / 0.6529 GB, free: 176 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.87e-05/0.1669, allocations: 61.69 kB / 0.6529 GB, free: 108 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.1669, allocations: 4 kB / 0.6529 GB, free: 104 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.657e-05/0.167, allocations: 34.56 kB / 0.6529 GB, free: 60 kB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.167, allocations: 4 kB / 0.653 GB, free: 56 kB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006305/0.1676, allocations: 257 kB / 0.6532 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.836e-05/0.1677, allocations: 85.03 kB / 0.6533 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002649/0.168, allocations: 203.5 kB / 0.6535 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.168, allocations: 29.7 kB / 0.6535 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.1681, allocations: 155.9 kB / 0.6536 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.421e-05/0.1682, allocations: 35.69 kB / 0.6537 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.673e-05/0.1683, allocations: 57.84 kB / 0.6537 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.1684, allocations: 322.8 kB / 0.654 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.1686, allocations: 84.8 kB / 0.6541 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.1688, allocations: 163.9 kB / 0.6543 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003377/0.1691, allocations: 238.9 kB / 0.6545 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1692, allocations: 0 / 0.6545 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005061/0.1697, allocations: 269.2 kB / 0.6548 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.1697, allocations: 12.31 kB / 0.6548 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.393e-06/0.1697, allocations: 4 kB / 0.6548 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.1697, allocations: 7.938 kB / 0.6548 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002733/0.17, allocations: 51.95 kB / 0.6548 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.17, allocations: 7.938 kB / 0.6548 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000252/0.1703, allocations: 23.94 kB / 0.6549 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.1703, allocations: 15.98 kB / 0.6549 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002253/0.1706, allocations: 167.6 kB / 0.655 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001913/0.1708, allocations: 152 kB / 0.6552 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003011/0.1711, allocations: 219.8 kB / 0.6554 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.194e-06/0.1711, allocations: 0 / 0.6554 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004681/0.1716, allocations: 261.2 kB / 0.6556 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.1716, allocations: 8 kB / 0.6557 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1716, allocations: 4 kB / 0.6557 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.145e-06/0.1716, allocations: 4 kB / 0.6557 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.1718, allocations: 52.25 kB / 0.6557 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.1719, allocations: 8 kB / 0.6557 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/0.1721, allocations: 23.97 kB / 0.6557 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.1721, allocations: 11.94 kB / 0.6558 GB, free: 12.94 MB / 0.4981 GB 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001291/0.1722, allocations: 192.2 kB / 0.6559 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.424e-05/0.1723, allocations: 15.91 kB / 0.656 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003008/0.1726, allocations: 154.9 kB / 0.6561 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.1726, allocations: 4 kB / 0.6561 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.1727, allocations: 4 kB / 0.6561 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1727, allocations: 0 / 0.6561 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009611/0.1736, allocations: 0.7197 MB / 0.6568 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1736, allocations: 0 / 0.6568 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.1738, allocations: 28.05 kB / 0.6568 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.577e-06/0.1738, allocations: 8.031 kB / 0.6568 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.1738, allocations: 11.94 kB / 0.6569 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.1738, allocations: 0 / 0.6569 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.1738, allocations: 8.484 kB / 0.6569 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000367/0.1742, allocations: 386.6 kB / 0.6572 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.1743, allocations: 108.9 kB / 0.6573 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.55e-05/0.1744, allocations: 4 kB / 0.6573 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.1746, allocations: 11.98 kB / 0.6574 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.1746, allocations: 15.92 kB / 0.6574 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.1746, allocations: 8 kB / 0.6574 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002067/0.1749, allocations: 159.7 kB / 0.6575 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1749, allocations: 0 / 0.6575 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005644/0.1754, allocations: 72 kB / 0.6576 GB, free: 10.89 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007978/0.1762, allocations: 0.9182 MB / 0.6585 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005882/0.1768, allocations: 273 kB / 0.6588 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.1769, allocations: 8.062 kB / 0.6588 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.734e-05/0.1769, allocations: 59.83 kB / 0.6588 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005043/0.1775, allocations: 27.98 kB / 0.6588 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002922/0.1804, allocations: 2.366 MB / 0.6612 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.1807, allocations: 0.7402 MB / 0.6619 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002215/0.181, allocations: 73.47 kB / 0.6619 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.486e-05/0.1811, allocations: 47.42 kB / 0.662 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of SimCode: time 4.91e-07/0.1811, allocations: 0 / 0.662 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02054/0.2016, allocations: 3.689 MB / 0.6656 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.48/7.681, allocations: 16.89 kB / 0.6656 GB, free: 2.512 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_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_AC_OnePhase_Sources_Examples_FixedVoltageSource.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)