Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.OnePhase.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.0008045/0.0008045, allocations: 108.3 kB / 19.73 MB, free: 420 kB / 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.0008044/0.0008044, allocations: 214.8 kB / 23.03 MB, free: 2.957 MB / 13.93 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.903/0.903, allocations: 230.6 MB / 256.8 MB, free: 9.598 MB / 202.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.873/1.873, allocations: 0.5046 GB / 0.8104 GB, free: 2.812 MB / 0.6511 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.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009713/0.0009713, allocations: 63.91 kB / 1.177 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7449/0.7458, allocations: 180 MB / 1.352 GB, free: 1.75 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.005376/0.7512, allocations: 5.912 MB / 1.358 GB, free: 11.82 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.003346/0.7546, allocations: 3.13 MB / 1.361 GB, free: 8.676 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003267/0.7549, allocations: 43.62 kB / 1.361 GB, free: 8.633 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.001297/0.7562, allocations: 0.9438 MB / 1.362 GB, free: 7.688 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006389/0.7568, allocations: 493.5 kB / 1.363 GB, free: 7.203 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009287/0.7578, allocations: 489.7 kB / 1.363 GB, free: 6.727 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0007763/0.7585, allocations: 1.089 MB / 1.364 GB, free: 5.633 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005819/0.7591, allocations: 0.5083 MB / 1.365 GB, free: 5.125 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004235/0.7595, allocations: 458.4 kB / 1.365 GB, free: 4.676 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004037/0.7599, allocations: 478 kB / 1.366 GB, free: 4.207 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 5.468e-05/0.76, allocations: 56 kB / 1.366 GB, free: 4.152 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004271/0.7604, allocations: 447 kB / 1.366 GB, free: 3.715 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001831/0.7606, allocations: 291.2 kB / 1.366 GB, free: 3.43 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001881/0.7608, allocations: 326.5 kB / 1.367 GB, free: 3.109 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008066/0.7616, allocations: 1.191 MB / 1.368 GB, free: 1.914 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.7616, allocations: 0 / 1.368 GB, free: 1.914 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.875e-06/0.7616, allocations: 0 / 1.368 GB, free: 1.914 MB / 1.042 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.7616, allocations: 0 / 1.368 GB, free: 1.914 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.00108/0.7627, allocations: 0.9987 MB / 1.369 GB, free: 0.8789 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.7627, allocations: 8.922 kB / 1.369 GB, free: 0.8711 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.651e-05/0.7628, allocations: 122.5 kB / 1.369 GB, free: 0.7422 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008425/0.7637, allocations: 224.2 kB / 1.369 GB, free: 0.5234 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00058/0.7642, allocations: 0.5127 MB / 1.37 GB, free: 15.98 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.7643, allocations: 45.61 kB / 1.37 GB, free: 15.94 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.812e-05/0.7643, allocations: 68.36 kB / 1.37 GB, free: 15.87 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.7655, allocations: 1.134 MB / 1.371 GB, free: 14.61 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.7655, allocations: 11.95 kB / 1.371 GB, free: 14.59 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.921e-05/0.7656, allocations: 27.98 kB / 1.371 GB, free: 14.57 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.597e-05/0.7656, allocations: 73.2 kB / 1.371 GB, free: 14.5 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006513/0.7663, allocations: 0.6879 MB / 1.372 GB, free: 13.81 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002685/0.769, allocations: 4.502 MB / 1.376 GB, free: 9.133 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000498/0.7695, allocations: 414.1 kB / 1.376 GB, free: 8.719 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004467/0.7699, allocations: 392.6 kB / 1.377 GB, free: 8.332 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.7699, allocations: 4 kB / 1.377 GB, free: 8.328 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002828/0.7702, allocations: 38.56 kB / 1.377 GB, free: 8.281 MB / 1.057 GB Notification: Performance of pre-optimization done (n=41): time 1.563e-06/0.7702, allocations: 0 / 1.377 GB, free: 8.281 MB / 1.057 GB Notification: Performance of matching and sorting (n=42): time 0.002295/0.7725, allocations: 1.71 MB / 1.379 GB, free: 6.551 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.7726, allocations: 55.41 kB / 1.379 GB, free: 6.484 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003258/0.7729, allocations: 470.6 kB / 1.379 GB, free: 6.016 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.7729, allocations: 29.7 kB / 1.379 GB, free: 5.98 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.7731, allocations: 392.2 kB / 1.379 GB, free: 5.594 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 8.105e-05/0.7732, allocations: 162.6 kB / 1.38 GB, free: 5.434 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.702e-05/0.7733, allocations: 110.3 kB / 1.38 GB, free: 5.32 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.7734, allocations: 362.8 kB / 1.38 GB, free: 4.957 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000227/0.7736, allocations: 245.1 kB / 1.38 GB, free: 4.719 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003128/0.7739, allocations: 457.5 kB / 1.381 GB, free: 4.176 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005854/0.7745, allocations: 0.744 MB / 1.381 GB, free: 3.336 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.7745, allocations: 0 / 1.381 GB, free: 3.336 MB / 1.057 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001044/0.7755, allocations: 1.039 MB / 1.382 GB, free: 2.277 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.7756, allocations: 10.34 kB / 1.382 GB, free: 2.27 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.7756, allocations: 11.94 kB / 1.382 GB, free: 2.258 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007135/0.7763, allocations: 315.1 kB / 1.383 GB, free: 1.938 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.7765, allocations: 99.83 kB / 1.383 GB, free: 1.84 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004498/0.781, allocations: 7.026 MB / 1.39 GB, free: 10.35 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.7812, allocations: 27.98 kB / 1.39 GB, free: 10.32 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/0.7812, allocations: 24 kB / 1.39 GB, free: 10.3 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001898/0.7814, allocations: 247.8 kB / 1.39 GB, free: 10.05 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.453e-05/0.7814, allocations: 67.55 kB / 1.39 GB, free: 9.98 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/0.7826, allocations: 0.8846 MB / 1.391 GB, free: 9.07 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.7826, allocations: 8 kB / 1.391 GB, free: 9.062 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.7826, allocations: 4 kB / 1.391 GB, free: 9.059 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.7826, allocations: 0 / 1.391 GB, free: 9.059 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/0.7841, allocations: 1.582 MB / 1.393 GB, free: 7.395 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.7841, allocations: 4 kB / 1.393 GB, free: 7.391 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.95e-05/0.7841, allocations: 35.97 kB / 1.393 GB, free: 7.355 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004439/0.7846, allocations: 307.6 kB / 1.393 GB, free: 7.043 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.7846, allocations: 15.94 kB / 1.393 GB, free: 7.027 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00402/0.7886, allocations: 7.019 MB / 1.4 GB, free: 15.55 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.7886, allocations: 3.938 kB / 1.4 GB, free: 15.55 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008813/0.7895, allocations: 0.9842 MB / 1.401 GB, free: 14.52 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.7896, allocations: 95.58 kB / 1.401 GB, free: 14.43 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.064e-05/0.7897, allocations: 8 kB / 1.401 GB, free: 14.42 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.7898, allocations: 27.91 kB / 1.401 GB, free: 14.39 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.459e-05/0.7898, allocations: 39.92 kB / 1.401 GB, free: 14.35 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.7899, allocations: 12 kB / 1.401 GB, free: 14.34 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.0001953/0.7901, allocations: 310.8 kB / 1.401 GB, free: 14.04 MB / 1.089 GB Notification: Performance of sort global known variables: time 4e-08/0.7901, allocations: 0 / 1.401 GB, free: 14.04 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.0004442/0.7905, allocations: 192 kB / 1.401 GB, free: 13.85 MB / 1.089 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001115/0.7916, allocations: 1.542 MB / 1.403 GB, free: 12.25 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.001084/0.7927, allocations: 1.145 MB / 1.404 GB, free: 11.05 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.7927, allocations: 4 kB / 1.404 GB, free: 11.05 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.0008639/0.7936, allocations: 0.8266 MB / 1.405 GB, free: 10.17 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005677/0.7941, allocations: 211.1 kB / 1.405 GB, free: 9.973 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004988/0.7991, allocations: 5.838 MB / 1.411 GB, free: 3.805 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.7994, allocations: 398.8 kB / 1.411 GB, free: 3.391 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.000184/0.7996, allocations: 97.17 kB / 1.411 GB, free: 3.293 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004185/0.8, allocations: 227.4 kB / 1.411 GB, free: 3.07 MB / 1.089 GB Notification: Performance of SimCode: time 1.012e-06/0.8, allocations: 0 / 1.411 GB, free: 3.07 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09347/0.8935, allocations: 16.84 MB / 1.428 GB, free: 2.598 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.522/8.416, allocations: 7.625 kB / 1.428 GB, free: 2.594 MB / 1.104 GB " [Timeout remaining time 291] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu) > Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.AC.OnePhase.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_OnePhase_Lines_Examples_ACLine_L.fmu) > Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.07262684777379]