Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.000851/0.000851, allocations: 80.55 kB / 19.96 MB, free: 4.602 MB / 18.57 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.0007745/0.0007745, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.8868/0.8868, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.736/1.736, allocations: 389.6 MB / 0.6343 GB, free: 12.58 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.873e-05/2.036e-05, allocations: 6.219 kB / 1.001 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.004911/0.004932, allocations: 5.293 MB / 1.006 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003029/0.007961, allocations: 2.595 MB / 1.008 GB, free: 5.609 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003105/0.008271, allocations: 35.69 kB / 1.008 GB, free: 5.574 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001054/0.009325, allocations: 0.6866 MB / 1.009 GB, free: 4.887 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0006715/0.009997, allocations: 441.2 kB / 1.009 GB, free: 4.453 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006888/0.01069, allocations: 414.8 kB / 1.01 GB, free: 4.047 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0007645/0.01145, allocations: 0.9785 MB / 1.011 GB, free: 3.062 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004378/0.01189, allocations: 390.4 kB / 1.011 GB, free: 2.672 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005153/0.0124, allocations: 0.5182 MB / 1.012 GB, free: 2.152 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003706/0.01277, allocations: 370.9 kB / 1.012 GB, free: 1.789 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.989e-05/0.01282, allocations: 48 kB / 1.012 GB, free: 1.742 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000416/0.01324, allocations: 335.1 kB / 1.012 GB, free: 1.414 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001801/0.01342, allocations: 263.2 kB / 1.013 GB, free: 1.156 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001657/0.01359, allocations: 235.4 kB / 1.013 GB, free: 0.9258 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0007664/0.01435, allocations: 0.9968 MB / 1.014 GB, free: 15.93 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.01436, allocations: 0 / 1.014 GB, free: 15.93 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.543e-06/0.01436, allocations: 0 / 1.014 GB, free: 15.93 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 9.337e-06/0.01437, allocations: 0 / 1.014 GB, free: 15.93 MB / 0.9792 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.001096/0.01546, allocations: 0.9285 MB / 1.015 GB, free: 14.96 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.0155, allocations: 13.34 kB / 1.015 GB, free: 14.95 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.4e-05/0.01559, allocations: 102.7 kB / 1.015 GB, free: 14.84 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008201/0.01641, allocations: 196.3 kB / 1.015 GB, free: 14.65 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005251/0.01693, allocations: 464.1 kB / 1.016 GB, free: 14.18 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.01696, allocations: 41.36 kB / 1.016 GB, free: 14.14 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.01706, allocations: 52.53 kB / 1.016 GB, free: 14.09 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007773/0.01784, allocations: 0.9828 MB / 1.017 GB, free: 12.98 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.01786, allocations: 12.14 kB / 1.017 GB, free: 12.97 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.763e-05/0.0179, allocations: 23.92 kB / 1.017 GB, free: 12.95 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001066/0.01801, allocations: 64.95 kB / 1.017 GB, free: 12.89 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005771/0.01858, allocations: 0.5735 MB / 1.017 GB, free: 12.31 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002455/0.02104, allocations: 3.561 MB / 1.021 GB, free: 8.605 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003221/0.02136, allocations: 278.6 kB / 1.021 GB, free: 8.328 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.02156, allocations: 213.3 kB / 1.021 GB, free: 8.117 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.02158, allocations: 4.281 kB / 1.021 GB, free: 8.113 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.0216, allocations: 30.84 kB / 1.021 GB, free: 8.074 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=33): time 2.805e-06/0.0216, allocations: 0 / 1.021 GB, free: 8.074 MB / 0.9792 GB Notification: Performance of matching and sorting (n=40): time 0.003154/0.02476, allocations: 2.336 MB / 1.024 GB, free: 5.688 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.02479, allocations: 63.33 kB / 1.024 GB, free: 5.613 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003435/0.02513, allocations: 473.9 kB / 1.024 GB, free: 5.141 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.02516, allocations: 33.7 kB / 1.024 GB, free: 5.102 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.02532, allocations: 356.5 kB / 1.024 GB, free: 4.75 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 7.287e-05/0.0254, allocations: 146.7 kB / 1.025 GB, free: 4.605 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.0255, allocations: 106.2 kB / 1.025 GB, free: 4.496 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.0256, allocations: 366.7 kB / 1.025 GB, free: 4.129 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002442/0.02584, allocations: 241.1 kB / 1.025 GB, free: 3.895 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003058/0.02615, allocations: 406.2 kB / 1.026 GB, free: 3.422 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005723/0.02672, allocations: 0.6779 MB / 1.026 GB, free: 2.672 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.02673, allocations: 0 / 1.026 GB, free: 2.672 MB / 0.9792 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009769/0.0277, allocations: 0.9218 MB / 1.027 GB, free: 1.734 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.02772, allocations: 8 kB / 1.027 GB, free: 1.727 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.02773, allocations: 8 kB / 1.027 GB, free: 1.719 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004342/0.02816, allocations: 230.4 kB / 1.027 GB, free: 1.484 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002701/0.02843, allocations: 111.8 kB / 1.028 GB, free: 1.375 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003162/0.0316, allocations: 4.995 MB / 1.032 GB, free: 12.04 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002742/0.03187, allocations: 27.97 kB / 1.032 GB, free: 12.01 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/0.0319, allocations: 24 kB / 1.032 GB, free: 11.99 MB / 0.9948 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.0002531/0.03215, allocations: 232.2 kB / 1.033 GB, free: 11.75 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.025e-05/0.03221, allocations: 67.67 kB / 1.033 GB, free: 11.69 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000892/0.0331, allocations: 0.7617 MB / 1.033 GB, free: 10.91 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.03311, allocations: 7.938 kB / 1.033 GB, free: 10.9 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.03311, allocations: 4 kB / 1.033 GB, free: 10.89 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.03311, allocations: 0 / 1.033 GB, free: 10.89 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/0.03455, allocations: 1.404 MB / 1.035 GB, free: 9.41 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.03456, allocations: 0 / 1.035 GB, free: 9.41 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/0.03475, allocations: 71.88 kB / 1.035 GB, free: 9.34 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000349/0.03509, allocations: 202.3 kB / 1.035 GB, free: 9.133 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.03511, allocations: 16.03 kB / 1.035 GB, free: 9.117 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00276/0.03787, allocations: 4.929 MB / 1.04 GB, free: 3.84 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.03788, allocations: 7.969 kB / 1.04 GB, free: 3.832 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.03893, allocations: 1.116 MB / 1.041 GB, free: 2.668 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.03907, allocations: 99.73 kB / 1.041 GB, free: 2.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.893e-05/0.03911, allocations: 12 kB / 1.041 GB, free: 2.559 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.03927, allocations: 27.91 kB / 1.041 GB, free: 2.531 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.134e-05/0.03934, allocations: 39.86 kB / 1.041 GB, free: 2.492 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.03936, allocations: 16 kB / 1.041 GB, free: 2.477 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002252/0.03959, allocations: 310.9 kB / 1.042 GB, free: 2.176 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.03959, allocations: 0 / 1.042 GB, free: 2.176 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004537/0.04004, allocations: 168 kB / 1.042 GB, free: 2.012 MB / 0.9948 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.001252/0.04129, allocations: 1.692 MB / 1.043 GB, free: 268 kB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001021/0.04231, allocations: 0.9656 MB / 1.044 GB, free: 15.26 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.04231, allocations: 0 / 1.044 GB, free: 15.26 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005046/0.04282, allocations: 0.6564 MB / 1.045 GB, free: 14.56 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005685/0.04339, allocations: 191.6 kB / 1.045 GB, free: 14.38 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005066/0.04845, allocations: 5.599 MB / 1.051 GB, free: 8.496 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.04869, allocations: 346.3 kB / 1.051 GB, free: 8.129 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002451/0.04894, allocations: 121 kB / 1.051 GB, free: 8.008 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.04913, allocations: 212.4 kB / 1.051 GB, free: 7.801 MB / 1.01 GB Notification: Performance of SimCode: time 1.052e-06/0.04913, allocations: 0 / 1.051 GB, free: 7.801 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4866/0.5357, allocations: 15.8 MB / 1.067 GB, free: 95.2 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.146/7.681, allocations: 10.89 kB / 1.067 GB, free: 95.2 MB / 1.01 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.058227761648595]