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.001393/0.001393, allocations: 105 kB / 20.45 MB, free: 1.5 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.001747/0.001747, allocations: 218.7 kB / 23.76 MB, free: 4.711 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.454/1.454, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.9544/0.9544, allocations: 150 MB / 463.9 MB, free: 10.54 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.002123/0.002123, allocations: 62.75 kB / 0.6425 GB, free: 9.965 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1896, allocations: 89.18 MB / 0.7296 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sources.Examples.VoltageSource): time 0.005443/0.195, allocations: 3.32 MB / 0.7328 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002685/0.1977, allocations: 1.492 MB / 0.7343 GB, free: 12 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001578/0.1978, allocations: 7.938 kB / 0.7343 GB, free: 12 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001146/0.199, allocations: 354.6 kB / 0.7346 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004314/0.1994, allocations: 159.2 kB / 0.7348 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004787/0.1999, allocations: 155.6 kB / 0.7349 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004488/0.2003, allocations: 334.8 kB / 0.7352 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004403/0.2008, allocations: 200 kB / 0.7354 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002779/0.2011, allocations: 147.5 kB / 0.7356 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003179/0.2014, allocations: 163.4 kB / 0.7357 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.877e-05/0.2014, allocations: 23.94 kB / 0.7357 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003593/0.2018, allocations: 175.6 kB / 0.7359 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.2019, allocations: 83.73 kB / 0.736 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.202, allocations: 119.5 kB / 0.7361 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006151/0.2026, allocations: 378.5 kB / 0.7365 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2026, allocations: 0 / 0.7365 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2026, allocations: 0 / 0.7365 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.318e-05/0.2027, allocations: 0 / 0.7365 GB, free: 9.738 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.001021/0.2037, allocations: 485.4 kB / 0.7369 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.2037, allocations: 8.031 kB / 0.7369 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007227/0.2044, allocations: 92.66 kB / 0.737 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004077/0.2049, allocations: 198.8 kB / 0.7372 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.2049, allocations: 16.81 kB / 0.7372 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.366e-05/0.2049, allocations: 20.36 kB / 0.7372 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005692/0.2055, allocations: 312.6 kB / 0.7375 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.2055, allocations: 0 / 0.7375 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.167e-05/0.2055, allocations: 16 kB / 0.7376 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.297e-05/0.2056, allocations: 16.42 kB / 0.7376 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004053/0.206, allocations: 213.5 kB / 0.7378 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001983/0.208, allocations: 1.467 MB / 0.7392 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004019/0.2084, allocations: 122.6 kB / 0.7393 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.924e-05/0.2085, allocations: 44.83 kB / 0.7394 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.2085, allocations: 0 / 0.7394 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.2085, allocations: 30.56 kB / 0.7394 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 8.71e-07/0.2085, allocations: 0 / 0.7394 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0005748/0.2091, allocations: 198.2 kB / 0.7396 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.2091, allocations: 51.41 kB / 0.7396 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002603/0.2094, allocations: 206.9 kB / 0.7398 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.2094, allocations: 29.7 kB / 0.7399 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.2096, allocations: 172 kB / 0.74 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.2096, allocations: 31.73 kB / 0.7401 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.025e-05/0.2097, allocations: 45.66 kB / 0.7401 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.2098, allocations: 330.8 kB / 0.7404 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.937e-05/0.2099, allocations: 43.97 kB / 0.7405 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.2101, allocations: 110.9 kB / 0.7406 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003836/0.2104, allocations: 172.4 kB / 0.7407 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.2104, allocations: 0 / 0.7407 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003889/0.2108, allocations: 206.1 kB / 0.7409 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.2108, allocations: 12.28 kB / 0.7409 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.2109, allocations: 4 kB / 0.7409 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001777/0.211, allocations: 24.84 kB / 0.741 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.2112, allocations: 43.84 kB / 0.741 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/0.2124, allocations: 1.314 MB / 0.7423 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.2126, allocations: 19.91 kB / 0.7423 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.2126, allocations: 12 kB / 0.7423 GB, free: 3.234 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.0001693/0.2127, allocations: 157.7 kB / 0.7425 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.204e-05/0.2128, allocations: 15.91 kB / 0.7425 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.967e-05/0.2128, allocations: 21.39 kB / 0.7425 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.2128, allocations: 0 / 0.7425 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.2128, allocations: 4 kB / 0.7425 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2128, allocations: 0 / 0.7425 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006782/0.2135, allocations: 458.2 kB / 0.7429 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2135, allocations: 4 kB / 0.743 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.676e-05/0.2136, allocations: 15.98 kB / 0.743 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.777e-05/0.2137, allocations: 24.83 kB / 0.743 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.2137, allocations: 3.938 kB / 0.743 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001234/0.2149, allocations: 1.33 MB / 0.7443 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2149, allocations: 0 / 0.7443 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004424/0.2154, allocations: 244.8 kB / 0.7445 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.318e-05/0.2154, allocations: 27.83 kB / 0.7446 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.2154, allocations: 0 / 0.7446 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.2156, allocations: 4 kB / 0.7446 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/0.2156, allocations: 7.984 kB / 0.7446 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.2156, allocations: 4 kB / 0.7446 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001372/0.2158, allocations: 144.6 kB / 0.7447 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2158, allocations: 4 kB / 0.7447 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003521/0.2161, allocations: 59.83 kB / 0.7448 GB, free: 0.5352 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.0001259/0.2162, allocations: 104.1 kB / 0.7449 GB, free: 432 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004635/0.2167, allocations: 226.9 kB / 0.7451 GB, free: 192 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2167, allocations: 64 / 0.7451 GB, free: 192 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.2169, allocations: 170.6 kB / 0.7452 GB, free: 8 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.2173, allocations: 35.92 kB / 0.7453 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007581/0.2181, allocations: 442.2 kB / 0.7457 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/0.2185, allocations: 0.7515 MB / 0.7464 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.852e-05/0.2185, allocations: 15.44 kB / 0.7465 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of SimCode: time 4.21e-07/0.2185, allocations: 0 / 0.7465 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of Templates: time 0.006095/0.2246, allocations: 3.282 MB / 0.7497 GB, free: 11.44 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: 9.304711617995054] Failed to read output from testmodel.py, exit status != 0: 0.2339154400397092 0.560089658 0.354575316 Calling exit ...