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.001528/0.001528, allocations: 107.4 kB / 18.88 MB, free: 2.918 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.001624/0.001624, allocations: 199.9 kB / 22.17 MB, free: 4.637 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.315/1.315, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.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.9858/0.9858, allocations: 175.8 MB / 481.9 MB, free: 7.672 MB / 382.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: translateModel(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 68.17 kB / 0.6705 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4567/0.4585, allocations: 94.53 MB / 0.7628 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003264/0.4618, allocations: 2.361 MB / 0.7651 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.4629, allocations: 0.8132 MB / 0.7659 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.874e-05/0.463, allocations: 2.438 kB / 0.7659 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000507/0.4635, allocations: 155.6 kB / 0.766 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000161/0.4637, allocations: 66.27 kB / 0.7661 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001466/0.4638, allocations: 47.78 kB / 0.7661 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.4641, allocations: 167.9 kB / 0.7663 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002008/0.4643, allocations: 72.09 kB / 0.7664 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.4644, allocations: 66.97 kB / 0.7664 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.4645, allocations: 70.23 kB / 0.7665 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.4645, allocations: 12.12 kB / 0.7665 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.4646, allocations: 54.11 kB / 0.7666 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.247e-05/0.4647, allocations: 39.25 kB / 0.7666 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.899e-05/0.4648, allocations: 64.73 kB / 0.7667 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.465, allocations: 177.5 kB / 0.7668 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.465, allocations: 1.422 kB / 0.7668 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.152e-06/0.465, allocations: 0 / 0.7668 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.465, allocations: 0.5 kB / 0.7668 GB, free: 7.918 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.0005921/0.4656, allocations: 0.4907 MB / 0.7673 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.4656, allocations: 11.19 kB / 0.7673 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/0.4658, allocations: 25.8 kB / 0.7673 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.466, allocations: 215.7 kB / 0.7676 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.541e-05/0.4661, allocations: 40.77 kB / 0.7676 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.4661, allocations: 18.56 kB / 0.7676 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.4664, allocations: 145.3 kB / 0.7677 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.4664, allocations: 1.062 kB / 0.7677 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.4664, allocations: 1.125 kB / 0.7678 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.4664, allocations: 10.38 kB / 0.7678 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000182/0.4666, allocations: 94.75 kB / 0.7679 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006959/0.4673, allocations: 0.6368 MB / 0.7685 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.4675, allocations: 54.88 kB / 0.7685 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.655e-05/0.4676, allocations: 27.12 kB / 0.7686 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.4676, allocations: 0 / 0.7686 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001662/0.4677, allocations: 142.4 kB / 0.7687 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 2.064e-06/0.4677, allocations: 0.8906 kB / 0.7687 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0003288/0.4681, allocations: 165.1 kB / 0.7688 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.4681, allocations: 137.7 kB / 0.769 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.4682, allocations: 176.1 kB / 0.7691 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.4683, allocations: 27.08 kB / 0.7692 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.651e-05/0.4683, allocations: 146.5 kB / 0.7693 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.4683, allocations: 25.72 kB / 0.7693 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.163e-05/0.4684, allocations: 40.03 kB / 0.7694 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.527e-05/0.4684, allocations: 323 kB / 0.7697 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.416e-05/0.4685, allocations: 45.59 kB / 0.7697 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.685e-05/0.4686, allocations: 111.2 kB / 0.7698 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001914/0.4688, allocations: 232.8 kB / 0.7701 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4688, allocations: 1.062 kB / 0.7701 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002896/0.4691, allocations: 236.5 kB / 0.7703 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.35e-05/0.4691, allocations: 70.89 kB / 0.7703 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.4691, allocations: 6.438 kB / 0.7704 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.4692, allocations: 4.25 kB / 0.7704 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.4693, allocations: 30.14 kB / 0.7704 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.4693, allocations: 3.344 kB / 0.7704 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.4694, allocations: 23.31 kB / 0.7704 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.4694, allocations: 12.38 kB / 0.7704 GB, free: 4.805 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 8.691e-05/0.4695, allocations: 165.5 kB / 0.7706 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.171e-05/0.4695, allocations: 22.91 kB / 0.7706 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.801e-05/0.4695, allocations: 17.17 kB / 0.7706 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.4695, allocations: 1.219 kB / 0.7706 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4695, allocations: 0 / 0.7706 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.4696, allocations: 1.5 kB / 0.7706 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.4697, allocations: 214.2 kB / 0.7708 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4697, allocations: 1.188 kB / 0.7708 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.268e-05/0.4697, allocations: 12.03 kB / 0.7708 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.4697, allocations: 7.875 kB / 0.7708 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.4698, allocations: 5.969 kB / 0.7709 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4698, allocations: 3.938 kB / 0.7709 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4698, allocations: 6.109 kB / 0.7709 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/0.4701, allocations: 214.4 kB / 0.7711 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.076e-05/0.4701, allocations: 88.98 kB / 0.7711 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.849e-05/0.4701, allocations: 6.625 kB / 0.7712 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.865e-05/0.4702, allocations: 9.859 kB / 0.7712 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.065e-05/0.4703, allocations: 11.39 kB / 0.7712 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.4703, allocations: 6.406 kB / 0.7712 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.119e-05/0.4704, allocations: 136.6 kB / 0.7713 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.4704, allocations: 0 / 0.7713 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002303/0.4706, allocations: 31.31 kB / 0.7713 GB, free: 4.031 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 8.313e-05/0.4707, allocations: 102.3 kB / 0.7714 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002673/0.4709, allocations: 215.1 kB / 0.7716 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.4709, allocations: 4 kB / 0.7716 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.385e-05/0.471, allocations: 88.97 kB / 0.7717 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.4713, allocations: 19.56 kB / 0.7718 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005409/0.4718, allocations: 322.6 kB / 0.7721 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.4719, allocations: 0.7162 MB / 0.7728 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.651e-05/0.472, allocations: 18 kB / 0.7728 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of SimCode: time 4.31e-07/0.472, allocations: 0 / 0.7728 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of Templates: time 0.003581/0.4755, allocations: 1.721 MB / 0.7745 GB, free: 2.609 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.847788844723254] Failed to read output from testmodel.py, exit status != 0: 0.4833172080107033 0.49558609299999995 0.027256327 Calling exit ...