Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.0008149/0.0008149, 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.0008557/0.0008557, allocations: 173.6 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.9098/0.9098, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.767/1.767, allocations: 389.6 MB / 0.6343 GB, free: 12.6 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.789e-05/1.951e-05, allocations: 6.281 kB / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.02918/0.02919, allocations: 30.84 MB / 1.031 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01128/0.04047, allocations: 10.13 MB / 1.041 GB, free: 4.414 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002087/0.04256, allocations: 198.5 kB / 1.041 GB, free: 4.219 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.004114/0.04668, allocations: 3.741 MB / 1.045 GB, free: 480 kB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.4478/0.4945, allocations: 1.997 MB / 1.046 GB, free: 51.58 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003825/0.4983, allocations: 2.158 MB / 1.049 GB, free: 51.55 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.005165/0.5035, allocations: 7.461 MB / 1.056 GB, free: 50.5 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004198/0.5077, allocations: 5.114 MB / 1.061 GB, free: 49.88 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003736/0.5114, allocations: 4.594 MB / 1.065 GB, free: 48.33 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002441/0.5139, allocations: 3.237 MB / 1.069 GB, free: 47.56 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0005742/0.5144, allocations: 0.6456 MB / 1.069 GB, free: 47.56 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00194/0.5164, allocations: 1.676 MB / 1.071 GB, free: 47.32 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.001323/0.5177, allocations: 2.724 MB / 1.073 GB, free: 46.18 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.001835/0.5195, allocations: 2.015 MB / 1.075 GB, free: 45.29 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.007887/0.5274, allocations: 10.31 MB / 1.085 GB, free: 42.37 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.5274, allocations: 2.281 kB / 1.085 GB, free: 42.37 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.904e-06/0.5274, allocations: 0 / 1.085 GB, free: 42.37 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0002112/0.5276, allocations: 0 / 1.085 GB, free: 42.37 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.008845/0.5365, allocations: 5.001 MB / 1.09 GB, free: 39.57 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.5365, allocations: 11.25 kB / 1.09 GB, free: 39.57 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008327/0.5374, allocations: 0.6812 MB / 1.091 GB, free: 39.21 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003413/0.5408, allocations: 0.9894 MB / 1.092 GB, free: 38.9 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00397/0.5447, allocations: 3.002 MB / 1.095 GB, free: 37.54 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001908/0.5449, allocations: 348.3 kB / 1.095 GB, free: 37.39 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005535/0.5455, allocations: 462.6 kB / 1.096 GB, free: 37.25 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009239/0.5547, allocations: 7.969 MB / 1.103 GB, free: 33.6 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.825e-05/0.5548, allocations: 26.59 kB / 1.104 GB, free: 33.59 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000359/0.5552, allocations: 200.8 kB / 1.104 GB, free: 33.45 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002681/0.5554, allocations: 321.7 kB / 1.104 GB, free: 33.41 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006778/0.5622, allocations: 5.7 MB / 1.11 GB, free: 31.5 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01792/0.5801, allocations: 22.64 MB / 1.132 GB, free: 16.39 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/0.5818, allocations: 1.566 MB / 1.133 GB, free: 15.8 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009986/0.5828, allocations: 1.125 MB / 1.134 GB, free: 15.37 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.013e-05/0.5828, allocations: 14.16 kB / 1.134 GB, free: 15.37 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.5829, allocations: 50.03 kB / 1.134 GB, free: 15.31 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=133): time 3.477e-06/0.5829, allocations: 0 / 1.134 GB, free: 15.31 MB / 0.9948 GB Notification: Performance of matching and sorting (n=136): time 0.007761/0.5906, allocations: 6.202 MB / 1.14 GB, free: 12.7 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.5907, allocations: 69.88 kB / 1.141 GB, free: 12.63 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/0.5919, allocations: 1.528 MB / 1.142 GB, free: 11.98 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 6.151e-05/0.592, allocations: 46.98 kB / 1.142 GB, free: 11.93 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005613/0.5925, allocations: 2.065 MB / 1.144 GB, free: 10.36 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001974/0.5927, allocations: 0.4896 MB / 1.145 GB, free: 9.98 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003132/0.593, allocations: 349.8 kB / 1.145 GB, free: 9.805 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.385e-05/0.5931, allocations: 302.2 kB / 1.145 GB, free: 9.508 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008264/0.5939, allocations: 0.9115 MB / 1.146 GB, free: 9.172 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.5949, allocations: 1.591 MB / 1.148 GB, free: 7.98 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002008/0.5969, allocations: 2.738 MB / 1.15 GB, free: 6.277 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/0.5969, allocations: 6.25 kB / 1.15 GB, free: 6.277 MB / 0.9948 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.003537/0.6005, allocations: 3.509 MB / 1.154 GB, free: 4.98 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.6005, allocations: 15.66 kB / 1.154 GB, free: 4.98 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.065e-05/0.6005, allocations: 22.72 kB / 1.154 GB, free: 4.98 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00137/0.6019, allocations: 0.9039 MB / 1.155 GB, free: 4.672 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006499/0.6025, allocations: 353.2 kB / 1.155 GB, free: 4.645 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01159/0.6141, allocations: 21.72 MB / 1.176 GB, free: 1.195 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/0.6154, allocations: 109.6 kB / 1.176 GB, free: 1.137 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.002e-05/0.6154, allocations: 80.69 kB / 1.176 GB, free: 1.125 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.002383/0.6178, allocations: 1.618 MB / 1.178 GB, free: 152 kB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/0.618, allocations: 215.9 kB / 1.178 GB, free: 36 kB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00301/0.621, allocations: 2.953 MB / 1.181 GB, free: 14.29 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.621, allocations: 21.86 kB / 1.181 GB, free: 14.28 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.6211, allocations: 9.562 kB / 1.181 GB, free: 14.28 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.6211, allocations: 3.984 kB / 1.181 GB, free: 14.28 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007328/0.6284, allocations: 6.727 MB / 1.188 GB, free: 9.855 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.6284, allocations: 7.984 kB / 1.188 GB, free: 9.848 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004147/0.6288, allocations: 186.8 kB / 1.188 GB, free: 9.676 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001214/0.63, allocations: 0.821 MB / 1.189 GB, free: 8.82 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-05/0.6301, allocations: 24 kB / 1.189 GB, free: 8.797 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01097/0.6411, allocations: 20.57 MB / 1.209 GB, free: 2.945 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.6411, allocations: 12.12 kB / 1.209 GB, free: 2.934 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003076/0.6441, allocations: 3.002 MB / 1.212 GB, free: 15.86 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006079/0.6447, allocations: 386.5 kB / 1.212 GB, free: 15.48 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.6449, allocations: 31.98 kB / 1.212 GB, free: 15.45 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004416/0.6453, allocations: 67.92 kB / 1.212 GB, free: 15.38 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002327/0.6456, allocations: 135.5 kB / 1.212 GB, free: 15.25 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.087e-05/0.6456, allocations: 39.94 kB / 1.212 GB, free: 15.21 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0008916/0.6465, allocations: 0.9717 MB / 1.213 GB, free: 14.21 MB / 1.057 GB Notification: Performance of sort global known variables: time 4e-08/0.6465, allocations: 0 / 1.213 GB, free: 14.21 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.002222/0.6487, allocations: 0.7891 MB / 1.214 GB, free: 13.43 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003124/0.6518, allocations: 3.596 MB / 1.218 GB, free: 9.75 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.003407/0.6552, allocations: 3.916 MB / 1.221 GB, free: 5.805 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.6553, allocations: 0 / 1.221 GB, free: 5.805 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.001937/0.6572, allocations: 2.667 MB / 1.224 GB, free: 3.004 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/0.6589, allocations: 0.741 MB / 1.225 GB, free: 2.293 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02453/0.6834, allocations: 22.52 MB / 1.247 GB, free: 10.93 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002563/0.686, allocations: 2.561 MB / 1.249 GB, free: 8.332 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.0008877/0.6869, allocations: 453.9 kB / 1.25 GB, free: 7.887 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00116/0.688, allocations: 1.539 MB / 1.251 GB, free: 6.348 MB / 1.089 GB Notification: Performance of SimCode: time 1.773e-06/0.688, allocations: 0 / 1.251 GB, free: 6.348 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1836/0.8717, allocations: 65.78 MB / 1.315 GB, free: 5.695 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.904/9.776, allocations: 7.922 kB / 1.315 GB, free: 5.688 MB / 1.151 GB " [Timeout remaining time 290] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.310473988763988]