Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 214.8 kB / 22.99 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9999/0.9999, allocations: 149.9 MB / 463 MB, free: 10.32 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002688/0.002688, allocations: 62.34 kB / 0.6415 GB, free: 9.625 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2103, allocations: 89.17 MB / 0.7286 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004744/0.2151, allocations: 2.291 MB / 0.7308 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00205/0.2171, allocations: 0.8337 MB / 0.7316 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002132/0.2173, allocations: 4 kB / 0.7317 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009055/0.2183, allocations: 147.3 kB / 0.7318 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003204/0.2186, allocations: 63.66 kB / 0.7319 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002884/0.2189, allocations: 71.8 kB / 0.7319 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003688/0.2192, allocations: 151.5 kB / 0.7321 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003489/0.2196, allocations: 85.11 kB / 0.7321 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002627/0.2198, allocations: 83.64 kB / 0.7322 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002496/0.2201, allocations: 63.73 kB / 0.7323 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.381e-05/0.2201, allocations: 12 kB / 0.7323 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.2203, allocations: 51.89 kB / 0.7323 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.956e-05/0.2204, allocations: 39.84 kB / 0.7324 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.2205, allocations: 51.8 kB / 0.7324 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000403/0.2209, allocations: 187.2 kB / 0.7326 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.2209, allocations: 0 / 0.7326 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2209, allocations: 0 / 0.7326 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.2209, allocations: 0 / 0.7326 GB, free: 12.38 MB / 0.5606 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.001029/0.2219, allocations: 429.2 kB / 0.733 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.222, allocations: 12.02 kB / 0.733 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003507/0.2223, allocations: 32.83 kB / 0.7331 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.2226, allocations: 162.8 kB / 0.7332 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.98e-05/0.2227, allocations: 63.72 kB / 0.7333 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.646e-05/0.2228, allocations: 12 kB / 0.7333 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003664/0.2231, allocations: 174.6 kB / 0.7335 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.2231, allocations: 0 / 0.7335 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.2232, allocations: 8 kB / 0.7335 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/0.2232, allocations: 4 kB / 0.7335 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002447/0.2234, allocations: 125.5 kB / 0.7336 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009654/0.2244, allocations: 0.5503 MB / 0.7341 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.2247, allocations: 84.25 kB / 0.7342 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.2248, allocations: 54.61 kB / 0.7343 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.2248, allocations: 11.92 kB / 0.7343 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002672/0.2251, allocations: 176.6 kB / 0.7344 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.754e-06/0.2251, allocations: 3.938 kB / 0.7344 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004717/0.2255, allocations: 218.6 kB / 0.7347 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.2257, allocations: 140.5 kB / 0.7348 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/0.2259, allocations: 186.4 kB / 0.735 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.2259, allocations: 25.7 kB / 0.735 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.226, allocations: 147.6 kB / 0.7351 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.2261, allocations: 23.83 kB / 0.7352 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.122e-05/0.2261, allocations: 45.66 kB / 0.7352 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.2263, allocations: 326.8 kB / 0.7355 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.2264, allocations: 87.39 kB / 0.7356 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/0.2266, allocations: 171.2 kB / 0.7358 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003017/0.2269, allocations: 234.4 kB / 0.736 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.2269, allocations: 3.938 kB / 0.736 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004659/0.2274, allocations: 300.4 kB / 0.7363 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.263e-05/0.2275, allocations: 75.36 kB / 0.7363 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.2275, allocations: 4 kB / 0.7363 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.2275, allocations: 4 kB / 0.7363 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.2276, allocations: 23.98 kB / 0.7364 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.726e-05/0.2277, allocations: 8.25 kB / 0.7364 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.2278, allocations: 27.88 kB / 0.7364 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.2278, allocations: 8 kB / 0.7364 GB, free: 8.043 MB / 0.5606 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.0001672/0.228, allocations: 159.5 kB / 0.7366 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.228, allocations: 19.84 kB / 0.7366 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.506e-05/0.2281, allocations: 13.41 kB / 0.7366 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.2281, allocations: 4 kB / 0.7366 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.2281, allocations: 0 / 0.7366 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.2281, allocations: 3.984 kB / 0.7366 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.2282, allocations: 145.2 kB / 0.7367 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2282, allocations: 0 / 0.7367 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.166e-05/0.2283, allocations: 11.94 kB / 0.7368 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2283, allocations: 4 kB / 0.7368 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.2284, allocations: 11.92 kB / 0.7368 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2284, allocations: 0 / 0.7368 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.2284, allocations: 7.984 kB / 0.7368 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004655/0.2288, allocations: 278.1 kB / 0.737 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.323e-05/0.2289, allocations: 15.92 kB / 0.7371 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.193e-05/0.2289, allocations: 7.922 kB / 0.7371 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.187e-05/0.229, allocations: 8 kB / 0.7371 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.92e-05/0.229, allocations: 15.98 kB / 0.7371 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-06/0.2291, allocations: 4 kB / 0.7371 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00014/0.2292, allocations: 132.3 kB / 0.7372 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2292, allocations: 0 / 0.7372 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002661/0.2295, allocations: 36.02 kB / 0.7373 GB, free: 7.094 MB / 0.5606 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.0001368/0.2296, allocations: 109.9 kB / 0.7374 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004302/0.23, allocations: 291.7 kB / 0.7376 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.23, allocations: 0 / 0.7376 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.2302, allocations: 125.1 kB / 0.7378 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.2305, allocations: 18.5 kB / 0.7378 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007258/0.2312, allocations: 328.2 kB / 0.7381 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.2313, allocations: 98.27 kB / 0.7382 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.783e-05/0.2314, allocations: 20.83 kB / 0.7382 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.731e-05/0.2314, allocations: 11.44 kB / 0.7382 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of SimCode: time 6.21e-07/0.2314, allocations: 0 / 0.7382 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of Templates: time 0.00532/0.2368, allocations: 1.59 MB / 0.7398 GB, free: 4.441 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.070177031680942] Failed to read output from testmodel.py, exit status != 0: 0.24602975696325302 0.260804686 0.036725955000000005 Calling exit ...