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.001886/0.001886, 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.001742/0.001742, allocations: 223.4 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.547/1.547, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.9956/0.9956, allocations: 150 MB / 463.1 MB, free: 10.48 MB / 366.1 MB " [Timeout remaining time 178] 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.002076/0.002076, allocations: 63.12 kB / 0.6417 GB, free: 9.891 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2042, allocations: 89.17 MB / 0.7288 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sources.Examples.VoltageSource): time 0.006727/0.2109, allocations: 3.327 MB / 0.7321 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003293/0.2142, allocations: 1.492 MB / 0.7335 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.2144, allocations: 11.94 kB / 0.7335 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001284/0.2156, allocations: 350.7 kB / 0.7339 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004279/0.2161, allocations: 155.2 kB / 0.734 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004336/0.2165, allocations: 159.6 kB / 0.7342 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004485/0.217, allocations: 330.9 kB / 0.7345 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00043/0.2174, allocations: 200 kB / 0.7347 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002672/0.2177, allocations: 151.5 kB / 0.7348 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003191/0.218, allocations: 155.4 kB / 0.735 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.971e-05/0.218, allocations: 20 kB / 0.735 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003774/0.2184, allocations: 179.6 kB / 0.7351 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.2185, allocations: 83.73 kB / 0.7352 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002312/0.2187, allocations: 127.3 kB / 0.7353 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000556/0.2193, allocations: 370.7 kB / 0.7357 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2193, allocations: 0 / 0.7357 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.556e-06/0.2193, allocations: 0 / 0.7357 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.561e-05/0.2193, allocations: 0 / 0.7357 GB, free: 9.672 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.001319/0.2206, allocations: 481.4 kB / 0.7362 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.2207, allocations: 8.031 kB / 0.7362 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007207/0.2214, allocations: 96.66 kB / 0.7363 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004101/0.2218, allocations: 198.8 kB / 0.7364 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.2218, allocations: 20.75 kB / 0.7365 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.928e-05/0.2219, allocations: 16.38 kB / 0.7365 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005588/0.2224, allocations: 328.6 kB / 0.7368 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.2225, allocations: 0 / 0.7368 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.492e-05/0.2225, allocations: 15.98 kB / 0.7368 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.074e-05/0.2225, allocations: 12.44 kB / 0.7368 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004033/0.2229, allocations: 217.5 kB / 0.737 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00195/0.2249, allocations: 1.463 MB / 0.7385 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003942/0.2253, allocations: 118.5 kB / 0.7386 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.473e-05/0.2254, allocations: 40.84 kB / 0.7386 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.2254, allocations: 0 / 0.7386 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001288/0.2255, allocations: 34.56 kB / 0.7386 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.2255, allocations: 0 / 0.7386 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0005514/0.2261, allocations: 194.2 kB / 0.7388 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.816e-05/0.2262, allocations: 51.41 kB / 0.7389 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003837/0.2265, allocations: 210.9 kB / 0.7391 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.2266, allocations: 29.7 kB / 0.7391 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.2267, allocations: 176 kB / 0.7393 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/0.2267, allocations: 27.75 kB / 0.7393 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.912e-05/0.2268, allocations: 41.66 kB / 0.7393 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002414/0.227, allocations: 330.8 kB / 0.7397 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.2271, allocations: 43.97 kB / 0.7397 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.2273, allocations: 112.5 kB / 0.7398 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002998/0.2276, allocations: 164.4 kB / 0.74 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.2276, allocations: 0 / 0.74 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004638/0.2281, allocations: 218.1 kB / 0.7402 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.2281, allocations: 8 kB / 0.7402 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.2281, allocations: 0 / 0.7402 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001805/0.2283, allocations: 28.84 kB / 0.7402 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.2284, allocations: 40.14 kB / 0.7402 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/0.2299, allocations: 1.322 MB / 0.7415 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.23, allocations: 15.92 kB / 0.7416 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/0.2301, allocations: 15.98 kB / 0.7416 GB, free: 3.156 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.0001636/0.2302, allocations: 151.7 kB / 0.7417 GB, free: 3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.613e-05/0.2303, allocations: 19.89 kB / 0.7417 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.393e-05/0.2303, allocations: 17.41 kB / 0.7417 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.2303, allocations: 3.938 kB / 0.7417 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2303, allocations: 8.062 kB / 0.7418 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.2303, allocations: 0 / 0.7418 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008045/0.2311, allocations: 462.2 kB / 0.7422 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.2311, allocations: 4.062 kB / 0.7422 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.87e-05/0.2312, allocations: 15.94 kB / 0.7422 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001139/0.2313, allocations: 20.84 kB / 0.7422 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.2313, allocations: 4 kB / 0.7422 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001271/0.2326, allocations: 1.326 MB / 0.7435 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2326, allocations: 0 / 0.7435 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003955/0.233, allocations: 236.2 kB / 0.7438 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.508e-05/0.233, allocations: 27.83 kB / 0.7438 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.2331, allocations: 0 / 0.7438 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.2332, allocations: 12.05 kB / 0.7438 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.2332, allocations: 0 / 0.7438 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.2333, allocations: 11.98 kB / 0.7438 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001404/0.2334, allocations: 148.5 kB / 0.744 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2334, allocations: 0 / 0.744 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003671/0.2338, allocations: 59.83 kB / 0.744 GB, free: 472 kB / 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.0001168/0.2339, allocations: 99.23 kB / 0.7441 GB, free: 360 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004684/0.2343, allocations: 231 kB / 0.7443 GB, free: 116 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2343, allocations: 0 / 0.7443 GB, free: 116 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00025/0.2346, allocations: 158.6 kB / 0.7445 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.235, allocations: 43.55 kB / 0.7445 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007623/0.2357, allocations: 415.3 kB / 0.7449 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005716/0.2363, allocations: 0.7554 MB / 0.7457 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001066/0.2364, allocations: 33.45 kB / 0.7457 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.331e-05/0.2365, allocations: 15.44 kB / 0.7457 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.2365, allocations: 0 / 0.7457 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of Templates: time 0.006207/0.2427, allocations: 2.043 MB / 0.7477 GB, free: 12.62 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.5224369168281555] Failed to read output from testmodel.py, exit status != 0: 0.2521187402307987 0.6063235170000001 0.046251782000000005 Calling exit ...