Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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.00074/0.00074, 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.0008101/0.0008101, allocations: 170.3 kB / 22.45 MB, free: 2.109 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.8557/0.8557, allocations: 177.1 MB / 202.8 MB, free: 5.766 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.001399/0.001399, allocations: 238.6 kB / 259.4 MB, free: 13.04 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.6609/0.6609, allocations: 138.4 MB / 454.3 MB, free: 30 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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.6463 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.402e-05/1.528e-05, allocations: 12.55 kB / 0.6463 GB, free: 1.863 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.2376/0.2376, allocations: 5.276 MB / 0.6514 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.003568/0.2412, allocations: 2.596 MB / 0.654 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002436/0.2414, allocations: 33.97 kB / 0.654 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0009081/0.2423, allocations: 0.6836 MB / 0.6547 GB, free: 52.87 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0005905/0.2429, allocations: 441.2 kB / 0.6551 GB, free: 52.61 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000654/0.2436, allocations: 415.9 kB / 0.6555 GB, free: 52.41 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0006871/0.2442, allocations: 0.9876 MB / 0.6565 GB, free: 51.95 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004184/0.2447, allocations: 373.6 kB / 0.6568 GB, free: 51.78 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004784/0.2451, allocations: 0.5202 MB / 0.6573 GB, free: 51.57 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003625/0.2455, allocations: 371.6 kB / 0.6577 GB, free: 51.46 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 5.499e-05/0.2456, allocations: 48.84 kB / 0.6577 GB, free: 51.46 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003314/0.2459, allocations: 334.3 kB / 0.658 GB, free: 51.36 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001732/0.2461, allocations: 263.7 kB / 0.6583 GB, free: 51.24 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001803/0.2462, allocations: 241.2 kB / 0.6585 GB, free: 51.14 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0007624/0.247, allocations: 1.002 MB / 0.6595 GB, free: 50.81 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.247, allocations: 0 / 0.6595 GB, free: 50.81 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.142e-06/0.247, allocations: 0 / 0.6595 GB, free: 50.81 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.247, allocations: 1.625 kB / 0.6595 GB, free: 50.81 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.0009878/0.248, allocations: 0.9052 MB / 0.6604 GB, free: 50.19 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.248, allocations: 14.97 kB / 0.6604 GB, free: 50.19 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.497e-05/0.2481, allocations: 105.1 kB / 0.6605 GB, free: 50.11 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007238/0.2488, allocations: 200.8 kB / 0.6607 GB, free: 50.07 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005488/0.2494, allocations: 477.4 kB / 0.6612 GB, free: 49.77 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.2494, allocations: 38.06 kB / 0.6612 GB, free: 49.75 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.2495, allocations: 57.06 kB / 0.6612 GB, free: 49.73 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007727/0.2503, allocations: 0.9799 MB / 0.6622 GB, free: 49.08 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.2503, allocations: 7.156 kB / 0.6622 GB, free: 49.08 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.551e-05/0.2503, allocations: 24.89 kB / 0.6622 GB, free: 49.06 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001064/0.2505, allocations: 69.84 kB / 0.6623 GB, free: 49.05 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005713/0.251, allocations: 0.5655 MB / 0.6628 GB, free: 48.86 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002114/0.2531, allocations: 3.567 MB / 0.6663 GB, free: 46.07 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003089/0.2534, allocations: 277.9 kB / 0.6666 GB, free: 45.96 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.2536, allocations: 219.1 kB / 0.6668 GB, free: 45.88 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.2537, allocations: 3.938 kB / 0.6668 GB, free: 45.88 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.2537, allocations: 41.52 kB / 0.6668 GB, free: 45.83 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=33): time 1.373e-06/0.2537, allocations: 0 / 0.6668 GB, free: 45.83 MB / 0.5573 GB Notification: Performance of matching and sorting (n=40): time 0.002901/0.2566, allocations: 2.338 MB / 0.6691 GB, free: 44.81 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.102e-05/0.2566, allocations: 56.72 kB / 0.6692 GB, free: 44.75 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002865/0.2569, allocations: 468.2 kB / 0.6696 GB, free: 44.52 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.2569, allocations: 37.08 kB / 0.6697 GB, free: 44.49 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 9.942e-05/0.257, allocations: 347.2 kB / 0.67 GB, free: 44.2 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.968e-05/0.2571, allocations: 154.3 kB / 0.6701 GB, free: 44.08 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.466e-05/0.2572, allocations: 98.09 kB / 0.6702 GB, free: 44.03 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.809e-05/0.2572, allocations: 371.6 kB / 0.6706 GB, free: 43.69 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002163/0.2574, allocations: 236.3 kB / 0.6708 GB, free: 43.61 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002736/0.2577, allocations: 415.2 kB / 0.6712 GB, free: 43.3 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005136/0.2582, allocations: 0.681 MB / 0.6719 GB, free: 42.87 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2582, allocations: 2.094 kB / 0.6719 GB, free: 42.87 MB / 0.5573 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009165/0.2591, allocations: 0.9183 MB / 0.6728 GB, free: 42.48 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.2591, allocations: 7.5 kB / 0.6728 GB, free: 42.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2592, allocations: 3.719 kB / 0.6728 GB, free: 42.48 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003719/0.2595, allocations: 225.1 kB / 0.673 GB, free: 42.42 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/0.2598, allocations: 111.1 kB / 0.6731 GB, free: 42.41 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002214/0.262, allocations: 5.005 MB / 0.678 GB, free: 38.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.2622, allocations: 30.41 kB / 0.678 GB, free: 38.15 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.2622, allocations: 25.72 kB / 0.6781 GB, free: 38.14 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.0001476/0.2624, allocations: 226.6 kB / 0.6783 GB, free: 37.97 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.585e-05/0.2624, allocations: 57.64 kB / 0.6783 GB, free: 37.95 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008119/0.2632, allocations: 0.764 MB / 0.6791 GB, free: 37.62 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.2632, allocations: 7.812 kB / 0.6791 GB, free: 37.61 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.2632, allocations: 3.188 kB / 0.6791 GB, free: 37.61 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.2632, allocations: 2.016 kB / 0.6791 GB, free: 37.61 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/0.2646, allocations: 1.408 MB / 0.6805 GB, free: 36.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2646, allocations: 0 / 0.6805 GB, free: 36.88 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/0.2648, allocations: 68.47 kB / 0.6805 GB, free: 36.88 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003467/0.2651, allocations: 207.3 kB / 0.6807 GB, free: 36.81 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/0.2651, allocations: 9 kB / 0.6807 GB, free: 36.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002463/0.2676, allocations: 4.93 MB / 0.6855 GB, free: 32.57 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.2676, allocations: 2.812 kB / 0.6855 GB, free: 32.57 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.2687, allocations: 1.127 MB / 0.6866 GB, free: 32 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.2689, allocations: 94.25 kB / 0.6867 GB, free: 31.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.795e-05/0.2689, allocations: 9.406 kB / 0.6867 GB, free: 31.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.2691, allocations: 28.94 kB / 0.6868 GB, free: 31.94 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.109e-05/0.2691, allocations: 46.5 kB / 0.6868 GB, free: 31.93 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.2692, allocations: 9.531 kB / 0.6868 GB, free: 31.93 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002079/0.2694, allocations: 316.1 kB / 0.6871 GB, free: 31.78 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.2694, allocations: 0 / 0.6871 GB, free: 31.78 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003964/0.2698, allocations: 174.6 kB / 0.6873 GB, free: 31.76 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.001269/0.271, allocations: 1.682 MB / 0.6889 GB, free: 30.64 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000904/0.2719, allocations: 0.9665 MB / 0.6899 GB, free: 30.09 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2719, allocations: 0 / 0.6899 GB, free: 30.09 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000522/0.2725, allocations: 0.6693 MB / 0.6905 GB, free: 29.63 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005516/0.273, allocations: 189.4 kB / 0.6907 GB, free: 29.58 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004979/0.278, allocations: 5.592 MB / 0.6962 GB, free: 26.34 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.2783, allocations: 350.3 kB / 0.6965 GB, free: 26.21 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002228/0.2785, allocations: 113 kB / 0.6966 GB, free: 26.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.2786, allocations: 215.7 kB / 0.6968 GB, free: 26.04 MB / 0.5573 GB Notification: Performance of SimCode: time 5.11e-07/0.2786, allocations: 0 / 0.6968 GB, free: 26.04 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03029/0.3089, allocations: 15.85 MB / 0.7123 GB, free: 19.96 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.122/7.431, allocations: 1.5 kB / 0.7123 GB, free: 19.96 MB / 0.5573 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.95189693942666] Failed to read output from testmodel.py, exit status != 0: 7.5206308932974935 7.528190375 7.279612256 Calling exit ...