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.001179/0.001179, allocations: 108.2 kB / 17.54 MB, free: 4.746 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.001181/0.001181, allocations: 186.7 kB / 20.71 MB, free: 1.586 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.297/1.297, allocations: 225.6 MB / 249.3 MB, free: 3.188 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.996/0.996, allocations: 175.7 MB / 480.1 MB, free: 2.805 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.001748/0.001748, allocations: 66.48 kB / 0.6677 GB, free: 10.91 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1481, allocations: 94.53 MB / 0.76 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003442/0.1516, allocations: 2.363 MB / 0.7623 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.1527, allocations: 0.8064 MB / 0.7631 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.729e-05/0.1528, allocations: 4 kB / 0.7631 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005115/0.1533, allocations: 151.3 kB / 0.7633 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001658/0.1535, allocations: 63.67 kB / 0.7633 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001414/0.1536, allocations: 59.8 kB / 0.7634 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.1538, allocations: 155.5 kB / 0.7635 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.154, allocations: 77 kB / 0.7636 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.1541, allocations: 67.7 kB / 0.7637 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.1543, allocations: 71.73 kB / 0.7638 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.1543, allocations: 12 kB / 0.7638 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.1544, allocations: 55.89 kB / 0.7638 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.495e-05/0.1545, allocations: 39.83 kB / 0.7639 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.554e-05/0.1546, allocations: 63.67 kB / 0.7639 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.1548, allocations: 175.3 kB / 0.7641 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1548, allocations: 0 / 0.7641 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1548, allocations: 0 / 0.7641 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.1548, allocations: 4 kB / 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.0006421/0.1555, allocations: 498.3 kB / 0.7646 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1555, allocations: 12.03 kB / 0.7646 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.218e-05/0.1555, allocations: 46.73 kB / 0.7646 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001758/0.1557, allocations: 24.83 kB / 0.7646 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.1559, allocations: 217.3 kB / 0.7648 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.379e-05/0.156, allocations: 30.45 kB / 0.7649 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.134e-05/0.156, allocations: 19.94 kB / 0.7649 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/0.1563, allocations: 144.2 kB / 0.765 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.1563, allocations: 0 / 0.765 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.1563, allocations: 8 kB / 0.765 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/0.1563, allocations: 4 kB / 0.765 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001876/0.1565, allocations: 83.89 kB / 0.7651 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008015/0.1573, allocations: 0.6481 MB / 0.7658 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.1575, allocations: 50.55 kB / 0.7658 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.48e-05/0.1576, allocations: 36.84 kB / 0.7658 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.1576, allocations: 0 / 0.7658 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001886/0.1578, allocations: 139 kB / 0.766 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/0.1578, allocations: 0 / 0.766 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0003562/0.1581, allocations: 167.4 kB / 0.7661 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.475e-05/0.1582, allocations: 132.5 kB / 0.7663 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.1584, allocations: 190.8 kB / 0.7664 GB, free: 10 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.1584, allocations: 29.7 kB / 0.7665 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.848e-05/0.1585, allocations: 136 kB / 0.7666 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.1585, allocations: 23.84 kB / 0.7666 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-05/0.1586, allocations: 45.64 kB / 0.7667 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.1587, allocations: 322.8 kB / 0.767 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.125e-05/0.1588, allocations: 39.98 kB / 0.767 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.1589, allocations: 109.4 kB / 0.7671 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002627/0.1592, allocations: 234.3 kB / 0.7673 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.1592, allocations: 0 / 0.7673 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003556/0.1596, allocations: 252.7 kB / 0.7676 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.946e-05/0.1596, allocations: 64.91 kB / 0.7676 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1596, allocations: 80 / 0.7676 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1596, allocations: 4.047 kB / 0.7676 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.1597, allocations: 32.28 kB / 0.7677 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.1598, allocations: 15.92 kB / 0.7677 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.1599, allocations: 27.88 kB / 0.7677 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.1599, allocations: 8 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.0001295/0.16, allocations: 163.5 kB / 0.7679 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.1601, allocations: 19.84 kB / 0.7679 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.417e-05/0.1601, allocations: 17.39 kB / 0.7679 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1601, allocations: 0 / 0.7679 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.1601, allocations: 4 kB / 0.7679 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.1601, allocations: 0 / 0.7679 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/0.1603, allocations: 217.5 kB / 0.7681 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1603, allocations: 0 / 0.7681 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.473e-05/0.1604, allocations: 8 kB / 0.7681 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.1604, allocations: 3.938 kB / 0.7681 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.1604, allocations: 3.984 kB / 0.7681 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1604, allocations: 4 kB / 0.7681 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1604, allocations: 0 / 0.7681 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003654/0.1607, allocations: 214.7 kB / 0.7684 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-05/0.1608, allocations: 89.05 kB / 0.7684 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.951e-05/0.1608, allocations: 7.938 kB / 0.7684 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.032e-05/0.1609, allocations: 11.98 kB / 0.7685 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/0.161, allocations: 4 kB / 0.7685 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.161, allocations: 11.98 kB / 0.7685 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001061/0.1611, allocations: 137 kB / 0.7686 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1611, allocations: 8 kB / 0.7686 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002247/0.1613, allocations: 31.94 kB / 0.7686 GB, free: 7.484 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.0006238/0.1619, allocations: 0.7468 MB / 0.7694 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002992/0.1622, allocations: 215 kB / 0.7696 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.1622, allocations: 4 kB / 0.7696 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.1623, allocations: 87.39 kB / 0.7697 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.1625, allocations: 19.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.002077/0.1646, allocations: 1.959 MB / 0.7716 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.1649, allocations: 0.7119 MB / 0.7723 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.299e-05/0.165, allocations: 20.64 kB / 0.7723 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.286e-05/0.1651, allocations: 35.42 kB / 0.7723 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of SimCode: time 3.71e-07/0.1651, allocations: 0 / 0.7723 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02542/0.1905, allocations: 3.15 MB / 0.7754 GB, free: 396 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.141/7.331, allocations: 3.562 kB / 0.7754 GB, free: 396 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_Utilities_Examples_TestVoltageCTRL_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 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.731829254000331]