Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.001248/0.001248, allocations: 109 kB / 20.48 MB, free: 1.477 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.001412/0.001412, allocations: 215.5 kB / 23.79 MB, free: 4.684 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.641/1.641, allocations: 230.6 MB / 257.6 MB, free: 7.996 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.033/1.033, allocations: 150 MB / 464 MB, free: 10.47 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: "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="cs",version="2.0",platforms={"static"}) [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.002101/0.002101, allocations: 65.86 kB / 0.642 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2081, allocations: 89.17 MB / 0.7291 GB, free: 1.234 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.008466/0.2166, allocations: 5.67 MB / 0.7347 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005259/0.2218, allocations: 2.755 MB / 0.7373 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006414/0.2225, allocations: 31.69 kB / 0.7374 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002145/0.2246, allocations: 0.7196 MB / 0.7381 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001398/0.226, allocations: 421.8 kB / 0.7385 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.2272, allocations: 397.4 kB / 0.7389 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001405/0.2286, allocations: 0.9594 MB / 0.7398 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006158/0.2293, allocations: 370.6 kB / 0.7401 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007252/0.23, allocations: 394.5 kB / 0.7405 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006863/0.2307, allocations: 426.4 kB / 0.7409 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.193e-05/0.2308, allocations: 52 kB / 0.741 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008568/0.2316, allocations: 371.2 kB / 0.7413 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00029/0.2319, allocations: 251.2 kB / 0.7416 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003786/0.2323, allocations: 350.1 kB / 0.7419 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.2336, allocations: 0.9767 MB / 0.7429 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2336, allocations: 0 / 0.7429 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.502e-06/0.2336, allocations: 0 / 0.7429 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.2336, allocations: 0 / 0.7429 GB, free: 3.102 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001816/0.2354, allocations: 0.9286 MB / 0.7438 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.2355, allocations: 8.031 kB / 0.7438 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.133e-05/0.2355, allocations: 17.19 kB / 0.7438 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001225/0.2356, allocations: 94.7 kB / 0.7439 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/0.237, allocations: 196.3 kB / 0.7441 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008961/0.2379, allocations: 463.6 kB / 0.7445 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.2e-05/0.2379, allocations: 37.38 kB / 0.7445 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/0.2381, allocations: 52.3 kB / 0.7446 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.2395, allocations: 0.8239 MB / 0.7454 GB, free: 352 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.504e-05/0.2395, allocations: 15.88 kB / 0.7454 GB, free: 336 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.352e-05/0.2396, allocations: 24 kB / 0.7454 GB, free: 312 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002022/0.2398, allocations: 64.95 kB / 0.7455 GB, free: 248 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009898/0.2408, allocations: 0.5736 MB / 0.7461 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005103/0.2459, allocations: 4.493 MB / 0.7505 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004969/0.2464, allocations: 275.3 kB / 0.7507 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003647/0.2467, allocations: 213.3 kB / 0.7509 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.009e-05/0.2468, allocations: 4.281 kB / 0.7509 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.2468, allocations: 42.84 kB / 0.751 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 3.857e-06/0.2468, allocations: 3.984 kB / 0.751 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=40): time 0.005846/0.2527, allocations: 2.33 MB / 0.7532 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.2527, allocations: 63.34 kB / 0.7533 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005625/0.2533, allocations: 454 kB / 0.7537 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.461e-05/0.2533, allocations: 33.7 kB / 0.7538 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002615/0.2536, allocations: 348.5 kB / 0.7541 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.2537, allocations: 150.7 kB / 0.7542 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/0.2539, allocations: 106.2 kB / 0.7543 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.2541, allocations: 362.8 kB / 0.7547 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003834/0.2545, allocations: 233.2 kB / 0.7549 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005112/0.255, allocations: 415.3 kB / 0.7553 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009186/0.2559, allocations: 0.674 MB / 0.756 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.2559, allocations: 4 kB / 0.756 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001809/0.2577, allocations: 0.9141 MB / 0.7569 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.2577, allocations: 4 kB / 0.7569 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.2577, allocations: 8 kB / 0.7569 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008709/0.2586, allocations: 230.3 kB / 0.7571 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005294/0.2591, allocations: 119.7 kB / 0.7572 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3325/0.5916, allocations: 5.017 MB / 0.7621 GB, free: 32.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005406/0.5922, allocations: 32.58 kB / 0.7621 GB, free: 32.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.154e-05/0.5922, allocations: 22.66 kB / 0.7622 GB, free: 32.64 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000265/0.5925, allocations: 226.7 kB / 0.7624 GB, free: 32.52 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.448e-05/0.5926, allocations: 61.02 kB / 0.7624 GB, free: 32.52 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001352/0.5939, allocations: 0.7662 MB / 0.7632 GB, free: 32.45 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.5939, allocations: 5.594 kB / 0.7632 GB, free: 32.45 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.5939, allocations: 3.5 kB / 0.7632 GB, free: 32.45 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.5939, allocations: 4.828 kB / 0.7632 GB, free: 32.45 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002137/0.5961, allocations: 1.459 MB / 0.7646 GB, free: 32.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.5961, allocations: 2 kB / 0.7646 GB, free: 32.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003605/0.5964, allocations: 76.48 kB / 0.7647 GB, free: 32.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006231/0.5971, allocations: 206.2 kB / 0.7649 GB, free: 32.07 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.2e-05/0.5971, allocations: 8.031 kB / 0.7649 GB, free: 32.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003733/0.6008, allocations: 4.966 MB / 0.7697 GB, free: 28.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.6008, allocations: 6.906 kB / 0.7698 GB, free: 28.45 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.6024, allocations: 1.122 MB / 0.7709 GB, free: 28.22 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002129/0.6027, allocations: 99.72 kB / 0.7709 GB, free: 28.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.98e-05/0.6027, allocations: 16.58 kB / 0.771 GB, free: 28.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003271/0.6031, allocations: 22.5 kB / 0.771 GB, free: 28.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.567e-05/0.6032, allocations: 42.5 kB / 0.771 GB, free: 28.19 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.782e-05/0.6032, allocations: 13.58 kB / 0.771 GB, free: 28.19 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003276/0.6035, allocations: 311.2 kB / 0.7713 GB, free: 28.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6035, allocations: 3.219 kB / 0.7713 GB, free: 28.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000647/0.6042, allocations: 164.4 kB / 0.7715 GB, free: 28.1 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001814/0.606, allocations: 1.689 MB / 0.7731 GB, free: 27.32 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001544/0.6075, allocations: 0.9795 MB / 0.7741 GB, free: 26.96 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.6075, allocations: 0 / 0.7741 GB, free: 26.96 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001205/0.6087, allocations: 0.6708 MB / 0.7748 GB, free: 26.61 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.6099, allocations: 183.6 kB / 0.7749 GB, free: 26.61 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009253/0.6192, allocations: 5.617 MB / 0.7804 GB, free: 24.02 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005038/0.6197, allocations: 0.9469 MB / 0.7813 GB, free: 23.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004553/0.6201, allocations: 110.4 kB / 0.7814 GB, free: 23.29 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002571/0.6204, allocations: 210.7 kB / 0.7816 GB, free: 23.12 MB / 0.5762 GB Notification: Performance of SimCode: time 8.21e-07/0.6204, allocations: 0 / 0.7816 GB, free: 23.12 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05094/0.6713, allocations: 14.69 MB / 0.796 GB, free: 19.36 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/13.79, allocations: 11.78 kB / 0.796 GB, free: 19.36 MB / 0.5762 GB " [Timeout remaining time 646] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.040370634989813] Failed to read output from testmodel.py, exit status != 0: 13.96901382599026 13.989075127 13.751960799 Calling exit ...