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.001469/0.001469, allocations: 119 kB / 19.69 MB, free: 2.199 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.001683/0.001683, allocations: 225 kB / 23.01 MB, free: 5.047 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.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 7.949 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 1.017/1.017, allocations: 150 MB / 463.1 MB, free: 10.43 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.002037/0.002037, allocations: 66.06 kB / 0.6417 GB, free: 9.832 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2171, allocations: 89.18 MB / 0.7288 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004361/0.2214, allocations: 2.37 MB / 0.7311 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002/0.2234, allocations: 0.892 MB / 0.732 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.2236, allocations: 4 kB / 0.732 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007892/0.2244, allocations: 151.3 kB / 0.7321 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002427/0.2246, allocations: 63.66 kB / 0.7322 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.2248, allocations: 67.81 kB / 0.7322 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003202/0.2252, allocations: 159.5 kB / 0.7324 GB, free: 13 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003017/0.2255, allocations: 85.06 kB / 0.7325 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002141/0.2257, allocations: 79.69 kB / 0.7326 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.2259, allocations: 71.69 kB / 0.7326 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.002e-05/0.2259, allocations: 8 kB / 0.7326 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001672/0.2261, allocations: 67.88 kB / 0.7327 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.849e-05/0.2262, allocations: 31.91 kB / 0.7327 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.2263, allocations: 71.66 kB / 0.7328 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003732/0.2267, allocations: 179.3 kB / 0.733 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2267, allocations: 4 kB / 0.733 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.674e-06/0.2267, allocations: 0 / 0.733 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.2267, allocations: 0 / 0.733 GB, free: 12.41 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.0009058/0.2276, allocations: 425.2 kB / 0.7334 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.2276, allocations: 8.031 kB / 0.7334 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004318/0.2281, allocations: 40.81 kB / 0.7334 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.2284, allocations: 159.4 kB / 0.7336 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.186e-05/0.2285, allocations: 71.66 kB / 0.7336 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.81e-05/0.2285, allocations: 12 kB / 0.7336 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004071/0.2289, allocations: 146.4 kB / 0.7338 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.2289, allocations: 0 / 0.7338 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.2289, allocations: 4 kB / 0.7338 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.863e-05/0.229, allocations: 12 kB / 0.7338 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002808/0.2293, allocations: 91.83 kB / 0.7339 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.2304, allocations: 0.6043 MB / 0.7345 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002872/0.2307, allocations: 54.55 kB / 0.7345 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.2308, allocations: 28.91 kB / 0.7346 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.2308, allocations: 3.984 kB / 0.7346 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002679/0.2311, allocations: 146.8 kB / 0.7347 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.2311, allocations: 0 / 0.7347 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0005145/0.2316, allocations: 163.3 kB / 0.7349 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.2317, allocations: 140.5 kB / 0.735 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/0.2319, allocations: 182.7 kB / 0.7352 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.232, allocations: 33.7 kB / 0.7352 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.2321, allocations: 136 kB / 0.7353 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.2321, allocations: 23.84 kB / 0.7354 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.176e-05/0.2322, allocations: 37.7 kB / 0.7354 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.2324, allocations: 322.8 kB / 0.7357 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.2325, allocations: 43.92 kB / 0.7357 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.2327, allocations: 109.4 kB / 0.7358 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003787/0.2331, allocations: 234.4 kB / 0.7361 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.2331, allocations: 4 kB / 0.7361 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005197/0.2336, allocations: 236.7 kB / 0.7363 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.081e-05/0.2337, allocations: 63.41 kB / 0.7364 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.2337, allocations: 4.312 kB / 0.7364 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.2337, allocations: 8 kB / 0.7364 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.2339, allocations: 31.86 kB / 0.7364 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.2339, allocations: 4 kB / 0.7364 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002133/0.2341, allocations: 35.77 kB / 0.7364 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.2342, allocations: 8.312 kB / 0.7364 GB, free: 8.461 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.0001883/0.2343, allocations: 165.4 kB / 0.7366 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.071e-05/0.2344, allocations: 19.89 kB / 0.7366 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.662e-05/0.2344, allocations: 17.39 kB / 0.7366 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.2344, allocations: 0 / 0.7366 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2344, allocations: 0 / 0.7366 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.2344, allocations: 3.938 kB / 0.7366 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002591/0.2347, allocations: 188.6 kB / 0.7368 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.2347, allocations: 0 / 0.7368 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.2348, allocations: 11.94 kB / 0.7368 GB, free: 8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.2348, allocations: 7.938 kB / 0.7368 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/0.2348, allocations: 3.984 kB / 0.7368 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2348, allocations: 0 / 0.7368 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2348, allocations: 0 / 0.7368 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005754/0.2354, allocations: 222.7 kB / 0.7371 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.901e-05/0.2355, allocations: 15.88 kB / 0.7371 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.899e-05/0.2355, allocations: 4 kB / 0.7371 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.2356, allocations: 15.98 kB / 0.7371 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.413e-05/0.2357, allocations: 8 kB / 0.7371 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.2357, allocations: 7.984 kB / 0.7371 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001506/0.2359, allocations: 132.4 kB / 0.7372 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2359, allocations: 0 / 0.7372 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004079/0.2363, allocations: 31.94 kB / 0.7373 GB, free: 7.535 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.0001329/0.2364, allocations: 104 kB / 0.7374 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004539/0.2369, allocations: 203.2 kB / 0.7376 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.2369, allocations: 4.062 kB / 0.7376 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001798/0.2371, allocations: 95.33 kB / 0.7377 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.2374, allocations: 22.77 kB / 0.7377 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007505/0.2382, allocations: 286.7 kB / 0.7379 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004522/0.2386, allocations: 0.7162 MB / 0.7386 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.879e-05/0.2387, allocations: 20.81 kB / 0.7387 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.624e-05/0.2387, allocations: 15.42 kB / 0.7387 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of SimCode: time 5.61e-07/0.2388, allocations: 4 kB / 0.7387 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of Templates: time 0.006494/0.2452, allocations: 1.516 MB / 0.7402 GB, free: 4.488 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.128898122347891] Failed to read output from testmodel.py, exit status != 0: 0.254541520960629 0.280402445 0.048771588000000005 Calling exit ...