Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.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.0009047/0.0009047, allocations: 100.3 kB / 19.72 MB, free: 428 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.0009719/0.0009719, allocations: 218.8 kB / 23.03 MB, free: 2.949 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.9839/0.9839, allocations: 230.6 MB / 256.8 MB, free: 9.578 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 2.1/2.1, allocations: 0.5045 GB / 0.8104 GB, free: 2.652 MB / 0.6511 GB " [Timeout remaining time 177] 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.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_13_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_13_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 71.88 kB / 1.177 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7595/0.7609, allocations: 180 MB / 1.352 GB, free: 1.637 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.1641/0.925, allocations: 214.7 MB / 1.562 GB, free: 10.21 MB / 1.245 GB Notification: Performance of NFInst.instExpressions: time 0.009711/0.9347, allocations: 8.027 MB / 1.57 GB, free: 2.168 MB / 1.245 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001504/0.9362, allocations: 95.12 kB / 1.57 GB, free: 2.074 MB / 1.245 GB Notification: Performance of NFTyping.typeComponents: time 0.001937/0.9382, allocations: 1.041 MB / 1.571 GB, free: 1.027 MB / 1.245 GB Notification: Performance of NFTyping.typeBindings: time 0.005743/0.9439, allocations: 3.208 MB / 1.574 GB, free: 13.8 MB / 1.26 GB Notification: Performance of NFTyping.typeClassSections: time 0.006115/0.95, allocations: 3.471 MB / 1.578 GB, free: 10.33 MB / 1.26 GB Notification: Performance of NFFlatten.flatten: time 0.005351/0.9554, allocations: 3.964 MB / 1.581 GB, free: 6.348 MB / 1.26 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001842/0.9572, allocations: 1.072 MB / 1.582 GB, free: 5.242 MB / 1.26 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004209/0.9614, allocations: 2.324 MB / 1.585 GB, free: 2.91 MB / 1.26 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001686/0.9631, allocations: 1.401 MB / 1.586 GB, free: 1.504 MB / 1.26 GB Notification: Performance of NFPackage.collectConstants: time 0.0001703/0.9633, allocations: 136 kB / 1.586 GB, free: 1.371 MB / 1.26 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004608/0.9679, allocations: 3.179 MB / 1.589 GB, free: 14.18 MB / 1.276 GB Notification: Performance of NFScalarize.scalarize: time 0.0005169/0.9684, allocations: 0.6345 MB / 1.59 GB, free: 13.55 MB / 1.276 GB Notification: Performance of NFVerifyModel.verify: time 0.0007576/0.9692, allocations: 0.8319 MB / 1.591 GB, free: 12.71 MB / 1.276 GB Notification: Performance of NFConvertDAE.convert: time 0.006773/0.9759, allocations: 3.764 MB / 1.594 GB, free: 8.934 MB / 1.276 GB Notification: Performance of FrontEnd - DAE generated: time 9.467e-06/0.976, allocations: 0 / 1.594 GB, free: 8.934 MB / 1.276 GB Notification: Performance of FrontEnd: time 3.066e-06/0.976, allocations: 4 kB / 1.594 GB, free: 8.93 MB / 1.276 GB Notification: Performance of Transformations before backend: time 6.508e-05/0.976, allocations: 0 / 1.594 GB, free: 8.93 MB / 1.276 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.005948/0.982, allocations: 2.664 MB / 1.597 GB, free: 6.215 MB / 1.276 GB Notification: Performance of prepare preOptimizeDAE: time 7.723e-05/0.982, allocations: 8.922 kB / 1.597 GB, free: 6.207 MB / 1.276 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000227/0.9823, allocations: 202.5 kB / 1.597 GB, free: 6 MB / 1.276 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005296/0.9876, allocations: 1.333 MB / 1.599 GB, free: 4.664 MB / 1.276 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002613/0.9902, allocations: 1.165 MB / 1.6 GB, free: 3.457 MB / 1.276 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.422e-05/0.9903, allocations: 98.59 kB / 1.6 GB, free: 3.359 MB / 1.276 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000169/0.9904, allocations: 132 kB / 1.6 GB, free: 3.23 MB / 1.276 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003003/0.9934, allocations: 2.082 MB / 1.602 GB, free: 1.047 MB / 1.276 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/0.9935, allocations: 11.92 kB / 1.602 GB, free: 1.035 MB / 1.276 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.9936, allocations: 52 kB / 1.602 GB, free: 0.9844 MB / 1.276 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.718e-05/0.9936, allocations: 66.47 kB / 1.602 GB, free: 0.918 MB / 1.276 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003394/0.997, allocations: 2.187 MB / 1.604 GB, free: 14.72 MB / 1.292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007188/1.004, allocations: 6.489 MB / 1.611 GB, free: 8.051 MB / 1.292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002687/1.007, allocations: 1.8 MB / 1.612 GB, free: 6.242 MB / 1.292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001393/1.008, allocations: 0.9414 MB / 1.613 GB, free: 5.297 MB / 1.292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005104/1.009, allocations: 196.8 kB / 1.613 GB, free: 5.105 MB / 1.292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001497/1.01, allocations: 1.067 MB / 1.614 GB, free: 4.027 MB / 1.292 GB Notification: Performance of pre-optimization done (n=119): time 4.538e-06/1.01, allocations: 4 kB / 1.614 GB, free: 4.023 MB / 1.292 GB Notification: Performance of matching and sorting (n=119): time 0.004789/1.015, allocations: 2.915 MB / 1.617 GB, free: 1.098 MB / 1.292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/1.015, allocations: 68.39 kB / 1.617 GB, free: 1.02 MB / 1.292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00158/1.017, allocations: 1.671 MB / 1.619 GB, free: 15.35 MB / 1.307 GB Notification: Performance of collectPreVariables (initialization): time 9.4e-05/1.017, allocations: 53.7 kB / 1.619 GB, free: 15.29 MB / 1.307 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004595/1.017, allocations: 0.8132 MB / 1.62 GB, free: 14.47 MB / 1.307 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003775/1.018, allocations: 432.3 kB / 1.62 GB, free: 14.04 MB / 1.307 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002785/1.018, allocations: 234.9 kB / 1.621 GB, free: 13.81 MB / 1.307 GB Notification: Performance of setup shared object (initialization): time 0.0001011/1.018, allocations: 353.9 kB / 1.621 GB, free: 13.46 MB / 1.307 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/1.019, allocations: 0.83 MB / 1.622 GB, free: 12.62 MB / 1.307 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001472/1.021, allocations: 1.372 MB / 1.623 GB, free: 11.08 MB / 1.307 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002594/1.023, allocations: 1.938 MB / 1.625 GB, free: 9.035 MB / 1.307 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/1.023, allocations: 4 kB / 1.625 GB, free: 9.031 MB / 1.307 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003378/1.027, allocations: 2.206 MB / 1.627 GB, free: 6.816 MB / 1.307 GB Notification: Performance of prepare postOptimizeDAE: time 3.43e-05/1.027, allocations: 15.94 kB / 1.627 GB, free: 6.801 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/1.027, allocations: 8 kB / 1.627 GB, free: 6.793 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.225e-05/1.027, allocations: 15.94 kB / 1.627 GB, free: 6.777 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/1.028, allocations: 407.9 kB / 1.627 GB, free: 6.379 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.254e-05/1.028, allocations: 23.94 kB / 1.627 GB, free: 6.355 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/1.029, allocations: 286.6 kB / 1.628 GB, free: 6.074 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001451/1.029, allocations: 63.97 kB / 1.628 GB, free: 6.012 MB / 1.307 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007926/1.03, allocations: 395.9 kB / 1.628 GB, free: 5.617 MB / 1.307 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002395/1.03, allocations: 202.7 kB / 1.628 GB, free: 5.418 MB / 1.307 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003303/1.034, allocations: 2.226 MB / 1.631 GB, free: 3.18 MB / 1.307 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/1.034, allocations: 15.98 kB / 1.631 GB, free: 3.164 MB / 1.307 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/1.034, allocations: 4 kB / 1.631 GB, free: 3.16 MB / 1.307 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.659e-06/1.034, allocations: 4.078 kB / 1.631 GB, free: 3.156 MB / 1.307 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00554/1.039, allocations: 4.303 MB / 1.635 GB, free: 14.71 MB / 1.323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/1.039, allocations: 8 kB / 1.635 GB, free: 14.71 MB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/1.04, allocations: 335.6 kB / 1.635 GB, free: 14.38 MB / 1.323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/1.04, allocations: 12 kB / 1.635 GB, free: 14.37 MB / 1.323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-05/1.04, allocations: 39.97 kB / 1.635 GB, free: 14.33 MB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.01e-05/1.04, allocations: 19.92 kB / 1.635 GB, free: 14.31 MB / 1.323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/1.04, allocations: 11.94 kB / 1.635 GB, free: 14.3 MB / 1.323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004844/1.045, allocations: 3.52 MB / 1.639 GB, free: 10.68 MB / 1.323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006835/1.046, allocations: 342.3 kB / 1.639 GB, free: 10.34 MB / 1.323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/1.046, allocations: 43.98 kB / 1.639 GB, free: 10.3 MB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008107/1.047, allocations: 163.8 kB / 1.639 GB, free: 10.14 MB / 1.323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/1.047, allocations: 104.7 kB / 1.639 GB, free: 10.04 MB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.629e-05/1.047, allocations: 51.97 kB / 1.639 GB, free: 9.984 MB / 1.323 GB Notification: Performance of sorting global known variables: time 0.001109/1.048, allocations: 1.142 MB / 1.64 GB, free: 8.852 MB / 1.323 GB Notification: Performance of sort global known variables: time 3.4e-07/1.048, allocations: 4 kB / 1.64 GB, free: 8.848 MB / 1.323 GB Notification: Performance of remove unused functions: time 0.001218/1.049, allocations: 495.5 kB / 1.641 GB, free: 8.363 MB / 1.323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005815/1.055, allocations: 4.574 MB / 1.645 GB, free: 3.859 MB / 1.323 GB Notification: Performance of simCode: created initialization part: time 0.003051/1.058, allocations: 1.934 MB / 1.647 GB, free: 1.93 MB / 1.323 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/1.058, allocations: 0 / 1.647 GB, free: 1.93 MB / 1.323 GB Notification: Performance of simCode: created simulation system equations: time 0.001545/1.06, allocations: 0.9713 MB / 1.648 GB, free: 0.9609 MB / 1.323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00256/1.062, allocations: 0.9249 MB / 1.649 GB, free: 44 kB / 1.323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02067/1.083, allocations: 16.09 MB / 1.665 GB, free: 15.32 MB / 1.354 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005624/1.084, allocations: 0.8035 MB / 1.666 GB, free: 14.48 MB / 1.354 GB Notification: Performance of simCode: alias equations: time 0.001326/1.085, allocations: 474.4 kB / 1.666 GB, free: 14.01 MB / 1.354 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007952/1.086, allocations: 0.7257 MB / 1.667 GB, free: 13.28 MB / 1.354 GB Notification: Performance of SimCode: time 1.663e-06/1.086, allocations: 4 kB / 1.667 GB, free: 13.28 MB / 1.354 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7563/1.842, allocations: 55.41 MB / 1.721 GB, free: 352.8 MB / 1.385 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.905/9.747, allocations: 6.25 kB / 1.721 GB, free: 352.7 MB / 1.385 GB " [Timeout remaining time 290] (rm -f Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu) > Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_fmpy_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 ../Buildings_13_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu) > Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.855998009443283]