Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.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.001559/0.001559, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001668/0.001668, allocations: 207.8 kB / 22.99 MB, free: 4.605 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.58/1.58, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.011/1.011, allocations: 149.9 MB / 463 MB, free: 10.38 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.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource") translateModel(IBPSA.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource") [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.002054/0.002054, allocations: 64.16 kB / 0.6415 GB, free: 9.664 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2343, allocations: 89.17 MB / 0.7286 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sources.Examples.VoltageSource): time 0.00555/0.2398, allocations: 3.181 MB / 0.7317 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002607/0.2425, allocations: 1.387 MB / 0.7331 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.2426, allocations: 11.94 kB / 0.7331 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001138/0.2437, allocations: 330.8 kB / 0.7334 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004551/0.2442, allocations: 163.1 kB / 0.7336 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004248/0.2446, allocations: 151.6 kB / 0.7337 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004281/0.245, allocations: 330.9 kB / 0.734 GB, free: 11 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004216/0.2455, allocations: 196 kB / 0.7342 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002866/0.2457, allocations: 151.5 kB / 0.7344 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003071/0.246, allocations: 151.4 kB / 0.7345 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.2e-05/0.2461, allocations: 20 kB / 0.7345 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003279/0.2464, allocations: 155.6 kB / 0.7347 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.2465, allocations: 87.67 kB / 0.7347 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.2466, allocations: 103.5 kB / 0.7348 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005316/0.2472, allocations: 366.7 kB / 0.7352 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2472, allocations: 0 / 0.7352 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2472, allocations: 0 / 0.7352 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.757e-06/0.2472, allocations: 4 kB / 0.7352 GB, free: 9.777 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009467/0.2481, allocations: 485.3 kB / 0.7357 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.2482, allocations: 8.031 kB / 0.7357 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006815/0.2489, allocations: 96.66 kB / 0.7358 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000451/0.2493, allocations: 202.8 kB / 0.736 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.2493, allocations: 20.75 kB / 0.736 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.685e-05/0.2494, allocations: 16.38 kB / 0.736 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005775/0.25, allocations: 393.7 kB / 0.7364 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.25, allocations: 0 / 0.7364 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.602e-05/0.25, allocations: 15.98 kB / 0.7364 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.42e-05/0.25, allocations: 12.44 kB / 0.7364 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000386/0.2504, allocations: 213.5 kB / 0.7366 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/0.2519, allocations: 1.019 MB / 0.7376 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004082/0.2523, allocations: 122.5 kB / 0.7377 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.2524, allocations: 48.83 kB / 0.7378 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.2524, allocations: 0 / 0.7378 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.2525, allocations: 30.56 kB / 0.7378 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 8.91e-07/0.2525, allocations: 0 / 0.7378 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0005557/0.253, allocations: 190.3 kB / 0.738 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.2531, allocations: 51.41 kB / 0.738 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.2533, allocations: 198.7 kB / 0.7382 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.2533, allocations: 33.7 kB / 0.7382 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.2535, allocations: 180 kB / 0.7384 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/0.2535, allocations: 31.73 kB / 0.7384 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.363e-05/0.2535, allocations: 33.72 kB / 0.7385 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.2537, allocations: 330.8 kB / 0.7388 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.2538, allocations: 43.98 kB / 0.7388 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.254, allocations: 114.2 kB / 0.7389 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002566/0.2542, allocations: 168.4 kB / 0.7391 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2542, allocations: 64 / 0.7391 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003977/0.2546, allocations: 218.3 kB / 0.7393 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.2547, allocations: 10.19 kB / 0.7393 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.2547, allocations: 4 kB / 0.7393 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001749/0.2548, allocations: 24.84 kB / 0.7393 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.255, allocations: 31.92 kB / 0.7394 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.2562, allocations: 1.307 MB / 0.7406 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.2564, allocations: 19.89 kB / 0.7407 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.2564, allocations: 7.984 kB / 0.7407 GB, free: 3.758 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001653/0.2566, allocations: 149.8 kB / 0.7408 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.446e-05/0.2566, allocations: 15.84 kB / 0.7408 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.308e-05/0.2566, allocations: 25.39 kB / 0.7409 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.2566, allocations: 0 / 0.7409 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.2566, allocations: 0 / 0.7409 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.2566, allocations: 4.094 kB / 0.7409 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006771/0.2573, allocations: 406.8 kB / 0.7412 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.2573, allocations: 0 / 0.7412 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.2575, allocations: 19.94 kB / 0.7413 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.767e-05/0.2576, allocations: 24.83 kB / 0.7413 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.2576, allocations: 0 / 0.7413 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001295/0.2589, allocations: 1.304 MB / 0.7426 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2589, allocations: 0 / 0.7426 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003844/0.2592, allocations: 236.3 kB / 0.7428 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.267e-05/0.2593, allocations: 27.83 kB / 0.7428 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.2593, allocations: 0 / 0.7428 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.2595, allocations: 7.984 kB / 0.7428 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.2595, allocations: 11.94 kB / 0.7428 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.2595, allocations: 12.11 kB / 0.7428 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001454/0.2597, allocations: 141.8 kB / 0.743 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2597, allocations: 0 / 0.743 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003981/0.2601, allocations: 59.88 kB / 0.743 GB, free: 1.168 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001276/0.2602, allocations: 96.19 kB / 0.7431 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000598/0.2608, allocations: 226.9 kB / 0.7433 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2608, allocations: 0 / 0.7433 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000253/0.261, allocations: 154.6 kB / 0.7435 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.2614, allocations: 40.06 kB / 0.7435 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007826/0.2622, allocations: 416.5 kB / 0.7439 GB, free: 200 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001642/0.2624, allocations: 144.2 kB / 0.7441 GB, free: 36 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.371e-05/0.2624, allocations: 21.48 kB / 0.7441 GB, free: 16 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.823e-05/0.2625, allocations: 19.42 kB / 0.7441 GB, free: 16 MB / 0.5762 GB Notification: Performance of SimCode: time 5.51e-07/0.2625, allocations: 0 / 0.7441 GB, free: 16 MB / 0.5762 GB Notification: Performance of Templates: time 0.00675/0.2693, allocations: 2.093 MB / 0.7462 GB, free: 13.95 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.39930435270071] Failed to read output from testmodel.py, exit status != 0: 0.2797430083155632 0.6535430130000001 0.044228096 Calling exit ...