Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001151/0.001151, allocations: 80.52 kB / 19.95 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.001277/0.001277, 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.8883/0.8883, allocations: 177.2 MB / 203.6 MB, free: 5.727 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.778/1.778, allocations: 389.6 MB / 0.6343 GB, free: 12.61 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_R,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.949e-05/2.137e-05, allocations: 6.219 kB / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.02495/0.02497, allocations: 32.98 MB / 1.033 GB, free: 12.43 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01292/0.03789, allocations: 9.874 MB / 1.043 GB, free: 2.527 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002332/0.04022, allocations: 190.6 kB / 1.043 GB, free: 2.34 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.4522/0.4925, allocations: 3.833 MB / 1.046 GB, free: 51.5 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.004667/0.4971, allocations: 2.215 MB / 1.049 GB, free: 51.3 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003237/0.5004, allocations: 1.976 MB / 1.051 GB, free: 51.25 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.005076/0.5054, allocations: 8.129 MB / 1.058 GB, free: 49.98 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00446/0.5099, allocations: 5.244 MB / 1.064 GB, free: 48.84 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004244/0.5141, allocations: 4.889 MB / 1.068 GB, free: 46.78 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002709/0.5169, allocations: 3.466 MB / 1.072 GB, free: 45.96 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0005839/0.5174, allocations: 0.6822 MB / 1.072 GB, free: 45.96 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001687/0.5191, allocations: 1.368 MB / 1.074 GB, free: 45.82 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.001705/0.5208, allocations: 2.804 MB / 1.077 GB, free: 44.62 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.001903/0.5227, allocations: 2.166 MB / 1.079 GB, free: 43.68 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.008978/0.5317, allocations: 10.58 MB / 1.089 GB, free: 40.67 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.5317, allocations: 5.031 kB / 1.089 GB, free: 40.66 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.305e-06/0.5317, allocations: 3.938 kB / 1.089 GB, free: 40.66 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0002803/0.532, allocations: 0 / 1.089 GB, free: 40.66 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.0103/0.5423, allocations: 5.414 MB / 1.094 GB, free: 37.71 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.5423, allocations: 9.875 kB / 1.094 GB, free: 37.71 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008523/0.5432, allocations: 0.6981 MB / 1.095 GB, free: 37.34 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003373/0.5466, allocations: 1 MB / 1.096 GB, free: 37.02 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004906/0.5515, allocations: 3.134 MB / 1.099 GB, free: 35.6 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/0.5517, allocations: 355.3 kB / 1.099 GB, free: 35.45 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006317/0.5523, allocations: 470.8 kB / 1.1 GB, free: 35.3 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01078/0.5631, allocations: 8.661 MB / 1.108 GB, free: 30.98 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.173e-05/0.5632, allocations: 18.11 kB / 1.108 GB, free: 30.98 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003893/0.5635, allocations: 211.2 kB / 1.108 GB, free: 30.84 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003841/0.5639, allocations: 373.2 kB / 1.109 GB, free: 30.79 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007761/0.5717, allocations: 5.929 MB / 1.115 GB, free: 28.79 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02172/0.5934, allocations: 23.71 MB / 1.138 GB, free: 12.93 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00219/0.5956, allocations: 1.99 MB / 1.14 GB, free: 12.21 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001292/0.5969, allocations: 1.334 MB / 1.141 GB, free: 11.72 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.582e-05/0.597, allocations: 21.5 kB / 1.141 GB, free: 11.71 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.597, allocations: 56.28 kB / 1.141 GB, free: 11.66 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=157): time 3.396e-06/0.597, allocations: 3.562 kB / 1.141 GB, free: 11.66 MB / 0.9948 GB Notification: Performance of matching and sorting (n=160): time 0.009415/0.6064, allocations: 6.667 MB / 1.148 GB, free: 8.801 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.6065, allocations: 67.28 kB / 1.148 GB, free: 8.734 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001924/0.6084, allocations: 1.908 MB / 1.15 GB, free: 7.965 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001008/0.6085, allocations: 53.7 kB / 1.15 GB, free: 7.914 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007222/0.6092, allocations: 2.184 MB / 1.152 GB, free: 6.246 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002788/0.6095, allocations: 0.5776 MB / 1.152 GB, free: 5.793 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000409/0.6099, allocations: 406.9 kB / 1.153 GB, free: 5.582 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.716e-05/0.6099, allocations: 302.2 kB / 1.153 GB, free: 5.285 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/0.6109, allocations: 1.06 MB / 1.154 GB, free: 4.73 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/0.6122, allocations: 1.763 MB / 1.156 GB, free: 3.277 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002374/0.6146, allocations: 3.046 MB / 1.159 GB, free: 1.191 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/0.6146, allocations: 8.344 kB / 1.159 GB, free: 1.191 MB / 0.9948 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.003946/0.6185, allocations: 3.904 MB / 1.162 GB, free: 15.23 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.6186, allocations: 21 kB / 1.163 GB, free: 15.22 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.6186, allocations: 20.81 kB / 1.163 GB, free: 15.22 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001363/0.6199, allocations: 0.9323 MB / 1.163 GB, free: 14.72 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000813/0.6208, allocations: 435.2 kB / 1.164 GB, free: 14.64 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01197/0.6327, allocations: 21.36 MB / 1.185 GB, free: 11.6 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/0.6345, allocations: 123.6 kB / 1.185 GB, free: 11.54 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/0.6346, allocations: 94.95 kB / 1.185 GB, free: 11.52 MB / 1.026 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 (227): * Single equations (assignments): 215 * 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,6,100.0%), (2,6,100.0%), (2,6,100.0%), (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.002562/0.6371, allocations: 1.652 MB / 1.187 GB, free: 10.52 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003133/0.6375, allocations: 263.6 kB / 1.187 GB, free: 10.39 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00337/0.6408, allocations: 3.235 MB / 1.19 GB, free: 7.312 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.6408, allocations: 16 kB / 1.19 GB, free: 7.297 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.6408, allocations: 15.09 kB / 1.19 GB, free: 7.285 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.6409, allocations: 7.969 kB / 1.19 GB, free: 7.277 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008864/0.6497, allocations: 7.161 MB / 1.197 GB, free: 60 kB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/0.6497, allocations: 4 kB / 1.197 GB, free: 56 kB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005501/0.6503, allocations: 218.1 kB / 1.197 GB, free: 15.85 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001488/0.6518, allocations: 0.8985 MB / 1.198 GB, free: 14.92 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.306e-05/0.6519, allocations: 32 kB / 1.198 GB, free: 14.89 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01266/0.6645, allocations: 21.33 MB / 1.219 GB, free: 8.305 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/0.6645, allocations: 7.375 kB / 1.219 GB, free: 8.301 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003913/0.6684, allocations: 3.356 MB / 1.222 GB, free: 4.871 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008545/0.6693, allocations: 486.1 kB / 1.223 GB, free: 4.395 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001919/0.6695, allocations: 32 kB / 1.223 GB, free: 4.363 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006334/0.6701, allocations: 91.88 kB / 1.223 GB, free: 4.273 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002642/0.6704, allocations: 147.7 kB / 1.223 GB, free: 4.137 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-05/0.6705, allocations: 48 kB / 1.223 GB, free: 4.09 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.001198/0.6716, allocations: 1.221 MB / 1.224 GB, free: 2.855 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6717, allocations: 0 / 1.224 GB, free: 2.855 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.002343/0.674, allocations: 0.9023 MB / 1.225 GB, free: 1.953 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 (109): * Single equations (assignments): 97 * 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,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,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003396/0.6774, allocations: 3.968 MB / 1.229 GB, free: 13.91 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.003918/0.6813, allocations: 4.286 MB / 1.233 GB, free: 9.52 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.6813, allocations: 1 kB / 1.233 GB, free: 9.52 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.002201/0.6835, allocations: 2.902 MB / 1.236 GB, free: 6.465 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001992/0.6855, allocations: 0.8253 MB / 1.237 GB, free: 5.66 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02762/0.7131, allocations: 25.28 MB / 1.261 GB, free: 11.29 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002263/0.7154, allocations: 2.665 MB / 1.264 GB, free: 8.594 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.00125/0.7166, allocations: 0.5332 MB / 1.265 GB, free: 8.055 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001238/0.7179, allocations: 1.656 MB / 1.266 GB, free: 6.398 MB / 1.104 GB Notification: Performance of SimCode: time 1.322e-06/0.7179, allocations: 0 / 1.266 GB, free: 6.398 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.164/0.8819, allocations: 74.94 MB / 1.339 GB, free: 12.87 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.427/10.31, allocations: 6.812 kB / 1.339 GB, free: 12.86 MB / 1.182 GB " [Timeout remaining time 290] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_R.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.918455231934786]