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.001693/0.001693, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.00194/0.00194, allocations: 189.4 kB / 22.23 MB, free: 5.137 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.477/1.477, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/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 1.112/1.112, allocations: 177.9 MB / 484.2 MB, free: 5.387 MB / 382.1 MB " [Timeout remaining time 178] 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.002879/0.002879, allocations: 68.61 kB / 0.674 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6085/0.6114, allocations: 95.17 MB / 0.7669 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003828/0.6152, allocations: 2.357 MB / 0.7692 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001246/0.6165, allocations: 0.8118 MB / 0.77 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.241e-05/0.6166, allocations: 2.406 kB / 0.77 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005993/0.6172, allocations: 148 kB / 0.7701 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.6174, allocations: 78.02 kB / 0.7702 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001552/0.6175, allocations: 47.81 kB / 0.7703 GB, free: 6 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002342/0.6177, allocations: 159.4 kB / 0.7704 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002312/0.618, allocations: 72.83 kB / 0.7705 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.6181, allocations: 71.64 kB / 0.7705 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.6183, allocations: 73.73 kB / 0.7706 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.967e-05/0.6183, allocations: 11.97 kB / 0.7706 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.6184, allocations: 54.33 kB / 0.7707 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.737e-05/0.6185, allocations: 42.55 kB / 0.7707 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.318e-05/0.6186, allocations: 70.45 kB / 0.7708 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000269/0.6188, allocations: 175.1 kB / 0.7709 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.6189, allocations: 0 / 0.7709 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.124e-06/0.6189, allocations: 1.125 kB / 0.7709 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.6189, allocations: 0 / 0.7709 GB, free: 5.676 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.0007386/0.6196, allocations: 418.7 kB / 0.7713 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.6196, allocations: 9.5 kB / 0.7714 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002426/0.6199, allocations: 27.08 kB / 0.7714 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.6202, allocations: 164 kB / 0.7715 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.54e-05/0.6202, allocations: 36.39 kB / 0.7716 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.216e-05/0.6203, allocations: 12 kB / 0.7716 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003713/0.6206, allocations: 150.1 kB / 0.7717 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.6206, allocations: 0 / 0.7717 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.6207, allocations: 6.625 kB / 0.7717 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.666e-05/0.6207, allocations: 9.844 kB / 0.7717 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002518/0.6209, allocations: 88.05 kB / 0.7718 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009567/0.6219, allocations: 0.6092 MB / 0.7724 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002858/0.6222, allocations: 53.62 kB / 0.7725 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.632e-05/0.6223, allocations: 26.98 kB / 0.7725 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.6223, allocations: 1.188 kB / 0.7725 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002826/0.6226, allocations: 146.6 kB / 0.7726 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.694e-06/0.6226, allocations: 0 / 0.7726 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0005506/0.6231, allocations: 163.8 kB / 0.7728 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.204e-05/0.6232, allocations: 133.1 kB / 0.7729 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/0.6235, allocations: 184.7 kB / 0.7731 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.6235, allocations: 27.5 kB / 0.7731 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.6236, allocations: 142.8 kB / 0.7733 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.709e-05/0.6236, allocations: 31.58 kB / 0.7733 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.18e-05/0.6237, allocations: 37.5 kB / 0.7733 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.6238, allocations: 336.3 kB / 0.7737 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.624, allocations: 37.34 kB / 0.7737 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/0.6241, allocations: 109.9 kB / 0.7738 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000304/0.6244, allocations: 233.8 kB / 0.774 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.6244, allocations: 1.531 kB / 0.774 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004585/0.6249, allocations: 244.2 kB / 0.7742 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.085e-05/0.625, allocations: 62.88 kB / 0.7743 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.625, allocations: 6.344 kB / 0.7743 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.035e-05/0.625, allocations: 5.078 kB / 0.7743 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.6252, allocations: 30.62 kB / 0.7743 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/0.6252, allocations: 3.562 kB / 0.7744 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.6253, allocations: 26.88 kB / 0.7744 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.6254, allocations: 7.297 kB / 0.7744 GB, free: 2.738 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.0001768/0.6255, allocations: 170 kB / 0.7745 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.727e-05/0.6256, allocations: 15.53 kB / 0.7746 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.845e-05/0.6256, allocations: 18.98 kB / 0.7746 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.6256, allocations: 0.8125 kB / 0.7746 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.6256, allocations: 1.922 kB / 0.7746 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.6256, allocations: 1.094 kB / 0.7746 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.6258, allocations: 180.8 kB / 0.7748 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.6258, allocations: 0 / 0.7748 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.54e-05/0.6259, allocations: 10.06 kB / 0.7748 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.6259, allocations: 1 kB / 0.7748 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.6259, allocations: 5.656 kB / 0.7748 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.6259, allocations: 4.969 kB / 0.7748 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.6259, allocations: 7.875 kB / 0.7748 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004365/0.6264, allocations: 217.3 kB / 0.775 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.939e-05/0.6264, allocations: 16.52 kB / 0.775 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.72e-05/0.6264, allocations: 6.594 kB / 0.775 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.916e-05/0.6265, allocations: 9.266 kB / 0.775 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.329e-05/0.6266, allocations: 19.86 kB / 0.775 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.6266, allocations: 2.75 kB / 0.775 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001091/0.6267, allocations: 129.3 kB / 0.7752 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.6267, allocations: 3.938 kB / 0.7752 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002774/0.627, allocations: 30.78 kB / 0.7752 GB, free: 2.086 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.0001201/0.6271, allocations: 103.6 kB / 0.7753 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003521/0.6275, allocations: 213.8 kB / 0.7755 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.6275, allocations: 0 / 0.7755 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.6276, allocations: 94.97 kB / 0.7756 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.6279, allocations: 15.77 kB / 0.7756 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006788/0.6285, allocations: 286.2 kB / 0.7759 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001963/0.6287, allocations: 0.7201 MB / 0.7766 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.101e-05/0.6288, allocations: 20.86 kB / 0.7766 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.707e-05/0.6289, allocations: 12.5 kB / 0.7766 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.6289, allocations: 0 / 0.7766 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of Templates: time 0.005651/0.6345, allocations: 1.511 MB / 0.7781 GB, free: 0.6914 MB / 0.5762 GB " [Timeout remaining time 659] 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: 6.435855500400066] Failed to read output from testmodel.py, exit status != 0: 0.6451573558151722 0.6589320860000001 0.036894766 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f418a0257b0>