Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.OnePhase.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.0009905/0.0009905, allocations: 104.3 kB / 19.72 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.001131/0.001131, allocations: 207.8 kB / 23.02 MB, free: 2.961 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.9068/0.9068, allocations: 230.6 MB / 256.8 MB, free: 9.582 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.927/1.927, allocations: 0.5045 GB / 0.8104 GB, free: 2.785 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_R,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 67.91 kB / 1.177 GB, free: 12 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7208/0.7219, allocations: 180 MB / 1.352 GB, free: 1.68 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.005398/0.7273, allocations: 6.497 MB / 1.359 GB, free: 11.16 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.003264/0.7306, allocations: 3.028 MB / 1.362 GB, free: 8.117 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002746/0.7308, allocations: 43.62 kB / 1.362 GB, free: 8.074 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.001314/0.7322, allocations: 0.9549 MB / 1.363 GB, free: 7.117 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006667/0.7328, allocations: 0.5168 MB / 1.363 GB, free: 6.598 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005674/0.7334, allocations: 430 kB / 1.364 GB, free: 6.18 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0007642/0.7342, allocations: 1.221 MB / 1.365 GB, free: 4.953 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005369/0.7347, allocations: 0.5394 MB / 1.365 GB, free: 4.414 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006512/0.7353, allocations: 498.3 kB / 1.366 GB, free: 3.926 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004298/0.7358, allocations: 0.5136 MB / 1.366 GB, free: 3.41 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 6.043e-05/0.7358, allocations: 68 kB / 1.366 GB, free: 3.344 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000349/0.7362, allocations: 339.3 kB / 1.367 GB, free: 3.012 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001802/0.7364, allocations: 315.1 kB / 1.367 GB, free: 2.703 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002139/0.7366, allocations: 374.2 kB / 1.367 GB, free: 2.336 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007498/0.7373, allocations: 1.222 MB / 1.369 GB, free: 1.109 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.7373, allocations: 8 kB / 1.369 GB, free: 1.102 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7373, allocations: 4 kB / 1.369 GB, free: 1.098 MB / 1.042 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.7373, allocations: 0 / 1.369 GB, free: 1.098 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001224/0.7386, allocations: 1.115 MB / 1.37 GB, free: 15.95 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.7386, allocations: 8.922 kB / 1.37 GB, free: 15.94 MB / 1.057 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.092e-05/0.7387, allocations: 114.7 kB / 1.37 GB, free: 15.82 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008597/0.7396, allocations: 240.1 kB / 1.37 GB, free: 15.58 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005726/0.7401, allocations: 0.5153 MB / 1.371 GB, free: 15.04 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.7402, allocations: 49.67 kB / 1.371 GB, free: 14.99 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.459e-05/0.7402, allocations: 68.31 kB / 1.371 GB, free: 14.93 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009927/0.7412, allocations: 1.34 MB / 1.372 GB, free: 13.41 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.7412, allocations: 11.94 kB / 1.372 GB, free: 13.4 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.28e-05/0.7413, allocations: 31.98 kB / 1.372 GB, free: 13.37 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-05/0.7414, allocations: 85.25 kB / 1.372 GB, free: 13.29 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009846/0.7424, allocations: 0.7465 MB / 1.373 GB, free: 12.54 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002794/0.7451, allocations: 4.639 MB / 1.377 GB, free: 7.73 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006154/0.7458, allocations: 0.5123 MB / 1.378 GB, free: 7.207 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002637/0.746, allocations: 286 kB / 1.378 GB, free: 6.926 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.7461, allocations: 4.438 kB / 1.378 GB, free: 6.922 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.7461, allocations: 39 kB / 1.378 GB, free: 6.875 MB / 1.057 GB Notification: Performance of pre-optimization done (n=47): time 2.004e-06/0.7461, allocations: 0 / 1.378 GB, free: 6.875 MB / 1.057 GB Notification: Performance of matching and sorting (n=48): time 0.002354/0.7484, allocations: 1.686 MB / 1.38 GB, free: 5.168 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.7485, allocations: 55.84 kB / 1.38 GB, free: 5.102 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003832/0.7488, allocations: 0.5741 MB / 1.38 GB, free: 4.516 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.7489, allocations: 33.7 kB / 1.38 GB, free: 4.477 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.749, allocations: 432 kB / 1.381 GB, free: 4.047 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 8.237e-05/0.7491, allocations: 178.5 kB / 1.381 GB, free: 3.871 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.7492, allocations: 126.6 kB / 1.381 GB, free: 3.742 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.7493, allocations: 378.7 kB / 1.381 GB, free: 3.363 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002592/0.7496, allocations: 273.9 kB / 1.382 GB, free: 3.094 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003431/0.7499, allocations: 0.4897 MB / 1.382 GB, free: 2.512 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006317/0.7506, allocations: 0.8006 MB / 1.383 GB, free: 1.617 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.7506, allocations: 4 kB / 1.383 GB, free: 1.613 MB / 1.057 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001033/0.7516, allocations: 1.078 MB / 1.384 GB, free: 0.5195 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.7516, allocations: 8 kB / 1.384 GB, free: 0.5117 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.7516, allocations: 8 kB / 1.384 GB, free: 0.5039 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004675/0.7521, allocations: 275.4 kB / 1.384 GB, free: 228 kB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.7523, allocations: 127.8 kB / 1.384 GB, free: 100 kB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003967/0.7563, allocations: 6.686 MB / 1.391 GB, free: 8.941 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002471/0.7566, allocations: 35.97 kB / 1.391 GB, free: 8.906 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/0.7566, allocations: 32 kB / 1.391 GB, free: 8.875 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (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.0002018/0.7568, allocations: 257.6 kB / 1.391 GB, free: 8.613 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.024e-05/0.7569, allocations: 79.47 kB / 1.391 GB, free: 8.535 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008673/0.7577, allocations: 0.8768 MB / 1.392 GB, free: 7.641 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.7577, allocations: 4 kB / 1.392 GB, free: 7.637 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.7577, allocations: 4.188 kB / 1.392 GB, free: 7.633 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.7577, allocations: 3.984 kB / 1.392 GB, free: 7.629 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001738/0.7595, allocations: 1.614 MB / 1.394 GB, free: 5.93 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.7595, allocations: 3.938 kB / 1.394 GB, free: 5.926 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.7596, allocations: 59.89 kB / 1.394 GB, free: 5.867 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003878/0.76, allocations: 271.4 kB / 1.394 GB, free: 5.59 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.76, allocations: 8 kB / 1.394 GB, free: 5.582 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003807/0.7638, allocations: 6.671 MB / 1.401 GB, free: 14.45 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.7638, allocations: 4.031 kB / 1.401 GB, free: 14.45 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008653/0.7647, allocations: 0.9721 MB / 1.402 GB, free: 13.43 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.7648, allocations: 115.5 kB / 1.402 GB, free: 13.32 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.155e-05/0.7649, allocations: 19.92 kB / 1.402 GB, free: 13.3 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.765, allocations: 27.91 kB / 1.402 GB, free: 13.27 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.221e-05/0.7651, allocations: 47.98 kB / 1.402 GB, free: 13.22 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.7651, allocations: 16 kB / 1.402 GB, free: 13.21 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.0002685/0.7654, allocations: 379.1 kB / 1.402 GB, free: 12.84 MB / 1.089 GB Notification: Performance of sort global known variables: time 4e-08/0.7654, allocations: 0 / 1.402 GB, free: 12.84 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.0005019/0.7659, allocations: 224 kB / 1.402 GB, free: 12.62 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 (31): * 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: 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 {(2,2,100.0%), (2,4,100.0%), (2,2,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.001101/0.767, allocations: 1.544 MB / 1.404 GB, free: 11.02 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.001147/0.7682, allocations: 1.24 MB / 1.405 GB, free: 9.727 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.7682, allocations: 4 kB / 1.405 GB, free: 9.723 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.0006291/0.7688, allocations: 0.862 MB / 1.406 GB, free: 8.809 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005927/0.7694, allocations: 223.5 kB / 1.406 GB, free: 8.602 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005326/0.7747, allocations: 6.359 MB / 1.412 GB, free: 1.91 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.775, allocations: 419.5 kB / 1.413 GB, free: 1.477 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.0002325/0.7752, allocations: 118 kB / 1.413 GB, free: 1.359 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/0.7754, allocations: 259.3 kB / 1.413 GB, free: 1.105 MB / 1.089 GB Notification: Performance of SimCode: time 1.032e-06/0.7754, allocations: 0 / 1.413 GB, free: 1.105 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1176/0.893, allocations: 19.25 MB / 1.432 GB, free: 14.27 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.782/8.675, allocations: 0 / 1.432 GB, free: 14.27 MB / 1.12 GB " [Timeout remaining time 291] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu) > Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.AC.OnePhase.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_OnePhase_Lines_Examples_ACLine_R.fmu) > Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.360215853899717]