Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.00169/0.00169, allocations: 105 kB / 20.44 MB, free: 1.504 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.001749/0.001749, allocations: 209.9 kB / 23.76 MB, free: 4.727 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.463/1.463, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.9574/0.9574, allocations: 150 MB / 463.9 MB, free: 10.5 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.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [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.002087/0.002087, allocations: 66.34 kB / 0.6425 GB, free: 9.91 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2065, allocations: 89.17 MB / 0.7296 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.006129/0.2127, allocations: 3.375 MB / 0.7329 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00441/0.2171, allocations: 2.123 MB / 0.7349 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002987/0.2174, allocations: 7.938 kB / 0.735 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001241/0.2186, allocations: 310.2 kB / 0.7353 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000906/0.2195, allocations: 238.9 kB / 0.7355 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009795/0.2205, allocations: 283.3 kB / 0.7357 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007905/0.2213, allocations: 406.8 kB / 0.7361 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004736/0.2217, allocations: 172.2 kB / 0.7363 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004446/0.2222, allocations: 167.5 kB / 0.7365 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005163/0.2227, allocations: 215.2 kB / 0.7367 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.994e-05/0.2228, allocations: 24 kB / 0.7367 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006581/0.2234, allocations: 275.5 kB / 0.737 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002026/0.2236, allocations: 119.7 kB / 0.7371 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002367/0.2239, allocations: 151.2 kB / 0.7372 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009898/0.2249, allocations: 490.2 kB / 0.7377 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.2249, allocations: 0 / 0.7377 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2249, allocations: 0 / 0.7377 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.024e-05/0.2249, allocations: 4 kB / 0.7377 GB, free: 8.473 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001523/0.2264, allocations: 0.54 MB / 0.7382 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.2265, allocations: 8.031 kB / 0.7382 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.2276, allocations: 116.6 kB / 0.7383 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005746/0.2282, allocations: 218.8 kB / 0.7385 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.063e-05/0.2282, allocations: 20.88 kB / 0.7386 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.2283, allocations: 36.67 kB / 0.7386 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009748/0.2293, allocations: 461.3 kB / 0.739 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.749e-05/0.2294, allocations: 3.984 kB / 0.739 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.709e-05/0.2294, allocations: 8 kB / 0.739 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001469/0.2296, allocations: 40.47 kB / 0.7391 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007403/0.2303, allocations: 369.7 kB / 0.7394 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003479/0.2338, allocations: 2.154 MB / 0.7415 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004757/0.2342, allocations: 258.3 kB / 0.7418 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002356/0.2345, allocations: 136.8 kB / 0.7419 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.2345, allocations: 7.984 kB / 0.7419 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.197e-05/0.2346, allocations: 42.5 kB / 0.742 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 2.073e-06/0.2346, allocations: 0 / 0.742 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23): time 0.002028/0.2366, allocations: 0.9108 MB / 0.7429 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/0.2366, allocations: 55.41 kB / 0.7429 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003886/0.237, allocations: 256.9 kB / 0.7432 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001219/0.2371, allocations: 29.7 kB / 0.7432 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.2373, allocations: 192.4 kB / 0.7434 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.2374, allocations: 91.27 kB / 0.7434 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.2376, allocations: 73.64 kB / 0.7435 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.2378, allocations: 338.8 kB / 0.7438 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003188/0.2381, allocations: 159.9 kB / 0.744 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003828/0.2385, allocations: 241.6 kB / 0.7442 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000642/0.2391, allocations: 414.8 kB / 0.7446 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.2391, allocations: 0 / 0.7446 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001329/0.2404, allocations: 0.5936 MB / 0.7452 GB, free: 324 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.2405, allocations: 12.06 kB / 0.7452 GB, free: 312 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.2405, allocations: 0 / 0.7452 GB, free: 312 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008066/0.2413, allocations: 188.7 kB / 0.7454 GB, free: 120 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003472/0.2416, allocations: 63.89 kB / 0.7455 GB, free: 56 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003411/0.245, allocations: 2.395 MB / 0.7478 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004429/0.2455, allocations: 27.97 kB / 0.7478 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.071e-05/0.2455, allocations: 12 kB / 0.7478 GB, free: 13.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * 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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002735/0.2458, allocations: 169.7 kB / 0.748 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.611e-05/0.2459, allocations: 23.8 kB / 0.748 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006344/0.2465, allocations: 358.8 kB / 0.7484 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.2465, allocations: 12 kB / 0.7484 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.2465, allocations: 0 / 0.7484 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2465, allocations: 0 / 0.7484 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/0.2479, allocations: 0.7838 MB / 0.7491 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.2479, allocations: 0 / 0.7491 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003919/0.2483, allocations: 71.94 kB / 0.7492 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.2483, allocations: 0 / 0.7492 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.134e-05/0.2483, allocations: 15.98 kB / 0.7492 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.2483, allocations: 8.062 kB / 0.7492 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.2483, allocations: 0 / 0.7492 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009023/0.2492, allocations: 0.6104 MB / 0.7498 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.2494, allocations: 51.88 kB / 0.7499 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.218e-05/0.2494, allocations: 11.98 kB / 0.7499 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002543/0.2497, allocations: 15.98 kB / 0.7499 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.327e-05/0.2497, allocations: 23.84 kB / 0.7499 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.2497, allocations: 4 kB / 0.7499 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00031/0.2501, allocations: 188.5 kB / 0.7501 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2501, allocations: 0 / 0.7501 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004712/0.2505, allocations: 92 kB / 0.7502 GB, free: 11 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * 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.0001932/0.2507, allocations: 111.2 kB / 0.7503 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001094/0.2518, allocations: 0.5031 MB / 0.7508 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.2518, allocations: 0.625 kB / 0.7508 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002163/0.252, allocations: 139.9 kB / 0.7509 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004818/0.2525, allocations: 61.53 kB / 0.751 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.2544, allocations: 0.8818 MB / 0.7518 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006064/0.255, allocations: 0.8028 MB / 0.7526 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.2551, allocations: 27.44 kB / 0.7527 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of SimCode: time 1.002e-06/0.2551, allocations: 0 / 0.7527 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of Templates: time 0.009903/0.265, allocations: 4.564 MB / 0.7571 GB, free: 3.844 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.229579951846972] Failed to read output from testmodel.py, exit status != 0: 0.2754105671774596 0.6630485730000001 0.43463855700000004 Calling exit ...