Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 109.7 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 182 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 225.6 MB / 249.3 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9819/0.9819, allocations: 175.7 MB / 480.1 MB, free: 2.801 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 74.78 kB / 0.6677 GB, free: 10.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1549, allocations: 94.52 MB / 0.76 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003501/0.1584, allocations: 2.366 MB / 0.7623 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.1596, allocations: 0.8142 MB / 0.7631 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.841e-05/0.1597, allocations: 7.938 kB / 0.7631 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005191/0.1602, allocations: 151.4 kB / 0.7633 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001657/0.1604, allocations: 59.67 kB / 0.7633 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001477/0.1605, allocations: 59.81 kB / 0.7634 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002316/0.1608, allocations: 159.5 kB / 0.7636 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001891/0.1609, allocations: 69.06 kB / 0.7636 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.1611, allocations: 71.7 kB / 0.7637 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001519/0.1612, allocations: 67.73 kB / 0.7637 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.1612, allocations: 12 kB / 0.7638 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.1613, allocations: 59.89 kB / 0.7638 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.255e-05/0.1614, allocations: 35.84 kB / 0.7639 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.627e-05/0.1615, allocations: 71.59 kB / 0.7639 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.1617, allocations: 171.3 kB / 0.7641 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1617, allocations: 4 kB / 0.7641 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.163e-06/0.1617, allocations: 0 / 0.7641 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.1617, allocations: 0 / 0.7641 GB, free: 12.69 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006938/0.1624, allocations: 498.3 kB / 0.7646 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.1624, allocations: 12.03 kB / 0.7646 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.631e-05/0.1625, allocations: 46.73 kB / 0.7646 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001776/0.1627, allocations: 24.83 kB / 0.7646 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.1629, allocations: 208.1 kB / 0.7648 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.394e-05/0.163, allocations: 46.45 kB / 0.7649 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.904e-05/0.163, allocations: 15.94 kB / 0.7649 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/0.1633, allocations: 140.2 kB / 0.765 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.1633, allocations: 0 / 0.765 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.1633, allocations: 7.938 kB / 0.765 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.1633, allocations: 7.984 kB / 0.765 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001958/0.1635, allocations: 87.95 kB / 0.7651 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008306/0.1643, allocations: 0.6402 MB / 0.7658 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.1646, allocations: 62.5 kB / 0.7658 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.5e-05/0.1646, allocations: 24.91 kB / 0.7658 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.1647, allocations: 3.984 kB / 0.7658 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001933/0.1649, allocations: 146.9 kB / 0.766 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.1649, allocations: 0 / 0.766 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0003642/0.1652, allocations: 167.1 kB / 0.7661 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.622e-05/0.1653, allocations: 136.5 kB / 0.7663 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.1655, allocations: 182.8 kB / 0.7665 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.1655, allocations: 25.7 kB / 0.7665 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.273e-05/0.1656, allocations: 144 kB / 0.7666 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.1656, allocations: 23.84 kB / 0.7666 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.714e-05/0.1657, allocations: 41.66 kB / 0.7667 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1658, allocations: 322.8 kB / 0.767 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.309e-05/0.1659, allocations: 39.97 kB / 0.767 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.1661, allocations: 107.5 kB / 0.7671 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000264/0.1663, allocations: 234.3 kB / 0.7673 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1663, allocations: 0 / 0.7673 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003541/0.1667, allocations: 244.7 kB / 0.7676 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.098e-05/0.1667, allocations: 67.33 kB / 0.7676 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1667, allocations: 0 / 0.7676 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1667, allocations: 4.312 kB / 0.7676 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.1669, allocations: 39.92 kB / 0.7677 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1669, allocations: 4 kB / 0.7677 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.167, allocations: 23.88 kB / 0.7677 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.167, allocations: 12 kB / 0.7677 GB, free: 8.539 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 (voltageControl.ctrl.tSwitch,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.connected,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * 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.0001289/0.1672, allocations: 163.4 kB / 0.7679 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.1672, allocations: 23.78 kB / 0.7679 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.506e-05/0.1672, allocations: 17.41 kB / 0.7679 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1672, allocations: 0 / 0.7679 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1672, allocations: 3.984 kB / 0.7679 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1672, allocations: 0 / 0.7679 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.1674, allocations: 205.6 kB / 0.7681 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1674, allocations: 4 kB / 0.7681 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.977e-05/0.1675, allocations: 11.98 kB / 0.7681 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.1675, allocations: 3.938 kB / 0.7681 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.1675, allocations: 4 kB / 0.7681 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1675, allocations: 0 / 0.7681 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.1675, allocations: 4 kB / 0.7681 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003753/0.1679, allocations: 218.7 kB / 0.7684 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.673e-05/0.1679, allocations: 93.03 kB / 0.7684 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.168, allocations: 7.875 kB / 0.7685 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.909e-05/0.168, allocations: 8 kB / 0.7685 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/0.1681, allocations: 11.98 kB / 0.7685 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.1681, allocations: 4 kB / 0.7685 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001079/0.1682, allocations: 145.1 kB / 0.7686 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1682, allocations: 0 / 0.7686 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000231/0.1685, allocations: 32 kB / 0.7686 GB, free: 7.48 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0006537/0.1691, allocations: 0.7503 MB / 0.7694 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003105/0.1694, allocations: 214.7 kB / 0.7696 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1694, allocations: 0 / 0.7696 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.1695, allocations: 91.33 kB / 0.7697 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.1697, allocations: 15.98 kB / 0.7697 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/0.1719, allocations: 1.955 MB / 0.7716 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.1723, allocations: 0.7196 MB / 0.7723 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.601e-05/0.1723, allocations: 24.84 kB / 0.7723 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.462e-05/0.1724, allocations: 39.42 kB / 0.7724 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of SimCode: time 8.22e-07/0.1724, allocations: 0 / 0.7724 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02587/0.1982, allocations: 3.131 MB / 0.7754 GB, free: 400 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.222/7.42, allocations: 3.938 kB / 0.7754 GB, free: 400 kB / 0.5762 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_dev_IDEAS_Electrical_Utilities_Examples_TestVoltageCTRL.fmu > IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.92271444000653]