Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0008674/0.0008674, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009119/0.0009119, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8953/0.8953, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001481/0.001481, allocations: 244.1 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6789/0.6789, allocations: 138.4 MB / 454.3 MB, free: 30.05 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 0.6463 GB, free: 1.891 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.524e-05/1.645e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.2483/0.2483, allocations: 5.209 MB / 0.6514 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002788/0.2511, allocations: 2.569 MB / 0.6539 GB, free: 53.36 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000237/0.2513, allocations: 33.22 kB / 0.6539 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0009139/0.2523, allocations: 0.6785 MB / 0.6546 GB, free: 52.96 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0005442/0.2528, allocations: 436 kB / 0.655 GB, free: 52.7 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005783/0.2534, allocations: 408.8 kB / 0.6554 GB, free: 52.5 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0007531/0.2541, allocations: 0.9744 MB / 0.6563 GB, free: 52.05 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004746/0.2546, allocations: 377.2 kB / 0.6567 GB, free: 51.88 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005225/0.2551, allocations: 0.5266 MB / 0.6572 GB, free: 51.66 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000379/0.2555, allocations: 361.5 kB / 0.6576 GB, free: 51.56 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 5.981e-05/0.2556, allocations: 48.53 kB / 0.6576 GB, free: 51.56 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003792/0.2559, allocations: 335.2 kB / 0.6579 GB, free: 51.45 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001888/0.2561, allocations: 259.2 kB / 0.6582 GB, free: 51.34 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001893/0.2563, allocations: 238.9 kB / 0.6584 GB, free: 51.25 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0008829/0.2572, allocations: 0.9976 MB / 0.6594 GB, free: 50.92 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2572, allocations: 0 / 0.6594 GB, free: 50.92 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2572, allocations: 1.625 kB / 0.6594 GB, free: 50.92 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.2572, allocations: 0 / 0.6594 GB, free: 50.92 MB / 0.5573 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.00103/0.2582, allocations: 0.9131 MB / 0.6603 GB, free: 50.29 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.2583, allocations: 10.56 kB / 0.6603 GB, free: 50.29 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.358e-05/0.2584, allocations: 97.02 kB / 0.6604 GB, free: 50.22 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007135/0.2591, allocations: 200.3 kB / 0.6606 GB, free: 50.18 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004958/0.2596, allocations: 465.4 kB / 0.661 GB, free: 49.88 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.2596, allocations: 36.34 kB / 0.661 GB, free: 49.87 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.2597, allocations: 57.39 kB / 0.6611 GB, free: 49.85 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007386/0.2604, allocations: 0.9723 MB / 0.662 GB, free: 49.2 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.889e-05/0.2605, allocations: 7.594 kB / 0.6621 GB, free: 49.2 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.289e-05/0.2605, allocations: 26.91 kB / 0.6621 GB, free: 49.18 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001109/0.2606, allocations: 67.25 kB / 0.6621 GB, free: 49.18 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005673/0.2612, allocations: 0.5702 MB / 0.6627 GB, free: 48.97 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002143/0.2633, allocations: 3.567 MB / 0.6662 GB, free: 46.19 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002956/0.2636, allocations: 275.9 kB / 0.6664 GB, free: 46.08 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/0.2638, allocations: 219 kB / 0.6667 GB, free: 45.99 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.2638, allocations: 3.719 kB / 0.6667 GB, free: 45.99 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.2638, allocations: 45.67 kB / 0.6667 GB, free: 45.95 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=33): time 1.683e-06/0.2638, allocations: 0 / 0.6667 GB, free: 45.95 MB / 0.5573 GB Notification: Performance of matching and sorting (n=40): time 0.002958/0.2668, allocations: 2.326 MB / 0.669 GB, free: 44.93 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.29e-05/0.2668, allocations: 54.75 kB / 0.669 GB, free: 44.87 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/0.2671, allocations: 469.8 kB / 0.6695 GB, free: 44.64 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.2671, allocations: 35.64 kB / 0.6695 GB, free: 44.6 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.2672, allocations: 347.6 kB / 0.6698 GB, free: 44.32 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.585e-05/0.2673, allocations: 147.9 kB / 0.67 GB, free: 44.2 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.731e-05/0.2674, allocations: 101.6 kB / 0.6701 GB, free: 44.14 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.132e-05/0.2674, allocations: 371.9 kB / 0.6704 GB, free: 43.8 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002163/0.2677, allocations: 233.9 kB / 0.6707 GB, free: 43.72 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.2679, allocations: 411.6 kB / 0.671 GB, free: 43.43 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005107/0.2684, allocations: 0.6798 MB / 0.6717 GB, free: 42.99 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2684, allocations: 2.062 kB / 0.6717 GB, free: 42.99 MB / 0.5573 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009143/0.2693, allocations: 0.9081 MB / 0.6726 GB, free: 42.61 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.2694, allocations: 10.92 kB / 0.6726 GB, free: 42.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.2694, allocations: 7.219 kB / 0.6726 GB, free: 42.61 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000406/0.2698, allocations: 226.3 kB / 0.6728 GB, free: 42.54 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.27, allocations: 119.3 kB / 0.6729 GB, free: 42.53 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002317/0.2724, allocations: 5.005 MB / 0.6778 GB, free: 38.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.2726, allocations: 33.92 kB / 0.6779 GB, free: 38.26 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.2726, allocations: 29.48 kB / 0.6779 GB, free: 38.26 MB / 0.5573 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.0001581/0.2727, allocations: 218.8 kB / 0.6781 GB, free: 38.09 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.534e-05/0.2728, allocations: 57.75 kB / 0.6782 GB, free: 38.06 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008534/0.2736, allocations: 0.7683 MB / 0.6789 GB, free: 37.73 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.2736, allocations: 7.312 kB / 0.6789 GB, free: 37.73 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2736, allocations: 3.281 kB / 0.6789 GB, free: 37.73 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.2736, allocations: 2.812 kB / 0.6789 GB, free: 37.73 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/0.2751, allocations: 1.397 MB / 0.6803 GB, free: 37 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2751, allocations: 0.6562 kB / 0.6803 GB, free: 37 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/0.2753, allocations: 68.92 kB / 0.6804 GB, free: 37 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003488/0.2756, allocations: 201.9 kB / 0.6805 GB, free: 36.93 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.2757, allocations: 22.97 kB / 0.6806 GB, free: 36.92 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002547/0.2782, allocations: 4.922 MB / 0.6854 GB, free: 32.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.2782, allocations: 2.484 kB / 0.6854 GB, free: 32.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.2793, allocations: 1.127 MB / 0.6865 GB, free: 32.12 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.2795, allocations: 92.19 kB / 0.6866 GB, free: 32.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/0.2795, allocations: 13.47 kB / 0.6866 GB, free: 32.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.2796, allocations: 27.23 kB / 0.6866 GB, free: 32.07 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.163e-05/0.2797, allocations: 43.23 kB / 0.6866 GB, free: 32.05 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.2797, allocations: 14.78 kB / 0.6867 GB, free: 32.05 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002312/0.28, allocations: 314.1 kB / 0.687 GB, free: 31.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.28, allocations: 1.188 kB / 0.687 GB, free: 31.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004515/0.2804, allocations: 166.7 kB / 0.6871 GB, free: 31.89 MB / 0.5573 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.001238/0.2817, allocations: 1.687 MB / 0.6888 GB, free: 30.77 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0009164/0.2826, allocations: 0.9632 MB / 0.6897 GB, free: 30.21 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2826, allocations: 0 / 0.6897 GB, free: 30.21 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000477/0.2831, allocations: 0.6725 MB / 0.6904 GB, free: 29.75 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005488/0.2836, allocations: 181.7 kB / 0.6905 GB, free: 29.71 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004905/0.2885, allocations: 5.565 MB / 0.696 GB, free: 26.48 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.2888, allocations: 348.5 kB / 0.6963 GB, free: 26.36 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002553/0.2891, allocations: 111 kB / 0.6964 GB, free: 26.35 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/0.2892, allocations: 215.1 kB / 0.6966 GB, free: 26.18 MB / 0.5573 GB Notification: Performance of SimCode: time 7.21e-07/0.2892, allocations: 0 / 0.6966 GB, free: 26.18 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03171/0.321, allocations: 15.76 MB / 0.712 GB, free: 20.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.02/7.341, allocations: 2.125 kB / 0.712 GB, free: 20.2 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.943221093155444] Failed to read output from testmodel.py, exit status != 0: 7.430634872987866 7.438320162 7.179583765 Calling exit ...