Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.001053/0.001053, allocations: 104.3 kB / 19.72 MB, free: 424 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.001178/0.001178, allocations: 210.8 kB / 23.02 MB, free: 2.969 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.9514/0.9514, allocations: 230.6 MB / 256.8 MB, free: 9.566 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.976/1.976, allocations: 0.5045 GB / 0.8104 GB, free: 2.715 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_Water,fileNamePrefix="Buildings_13_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_13_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.000915/0.000915, allocations: 67.89 kB / 1.177 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7135/0.7145, allocations: 180 MB / 1.352 GB, free: 1.637 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03245/0.7469, allocations: 50.4 MB / 1.402 GB, free: 15.08 MB / 1.089 GB Notification: Performance of NFInst.instExpressions: time 0.01016/0.7571, allocations: 9.711 MB / 1.411 GB, free: 5.344 MB / 1.089 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008687/0.7579, allocations: 91.19 kB / 1.411 GB, free: 5.254 MB / 1.089 GB Notification: Performance of NFTyping.typeComponents: time 0.001431/0.7594, allocations: 0.9047 MB / 1.412 GB, free: 4.344 MB / 1.089 GB Notification: Performance of NFTyping.typeBindings: time 0.003126/0.7625, allocations: 2.068 MB / 1.414 GB, free: 2.266 MB / 1.089 GB Notification: Performance of NFTyping.typeClassSections: time 0.003213/0.7657, allocations: 1.999 MB / 1.416 GB, free: 272 kB / 1.089 GB Notification: Performance of NFFlatten.flatten: time 0.002636/0.7683, allocations: 3.741 MB / 1.42 GB, free: 12.51 MB / 1.104 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007799/0.7691, allocations: 0.9408 MB / 1.421 GB, free: 11.54 MB / 1.104 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001968/0.7711, allocations: 1.957 MB / 1.423 GB, free: 9.578 MB / 1.104 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008912/0.772, allocations: 1.194 MB / 1.424 GB, free: 8.379 MB / 1.104 GB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.7721, allocations: 104 kB / 1.424 GB, free: 8.277 MB / 1.104 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001228/0.7733, allocations: 1.037 MB / 1.425 GB, free: 7.238 MB / 1.104 GB Notification: Performance of NFScalarize.scalarize: time 0.0002421/0.7736, allocations: 410.2 kB / 1.425 GB, free: 6.836 MB / 1.104 GB Notification: Performance of NFVerifyModel.verify: time 0.0004129/0.774, allocations: 0.6995 MB / 1.426 GB, free: 6.133 MB / 1.104 GB Notification: Performance of NFConvertDAE.convert: time 0.001748/0.7757, allocations: 2.42 MB / 1.428 GB, free: 3.703 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.7757, allocations: 0 / 1.428 GB, free: 3.703 MB / 1.104 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7757, allocations: 3.938 kB / 1.428 GB, free: 3.699 MB / 1.104 GB Notification: Performance of Transformations before backend: time 1.606e-05/0.7758, allocations: 0 / 1.428 GB, free: 3.699 MB / 1.104 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002228/0.778, allocations: 2.118 MB / 1.43 GB, free: 1.531 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.778, allocations: 8.922 kB / 1.43 GB, free: 1.523 MB / 1.104 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001249/0.7781, allocations: 168.7 kB / 1.431 GB, free: 1.348 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001663/0.7798, allocations: 0.6621 MB / 1.431 GB, free: 0.6836 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.7811, allocations: 1.064 MB / 1.432 GB, free: 15.57 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.944e-05/0.7811, allocations: 90.08 kB / 1.432 GB, free: 15.48 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.7812, allocations: 116 kB / 1.432 GB, free: 15.36 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001689/0.7829, allocations: 1.5 MB / 1.434 GB, free: 13.71 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.783, allocations: 3.938 kB / 1.434 GB, free: 13.7 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.487e-05/0.783, allocations: 52 kB / 1.434 GB, free: 13.65 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.842e-05/0.783, allocations: 28 kB / 1.434 GB, free: 13.62 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001857/0.7849, allocations: 1.237 MB / 1.435 GB, free: 12.39 MB / 1.12 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004872/0.7898, allocations: 6.576 MB / 1.442 GB, free: 5.582 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001907/0.7917, allocations: 1.06 MB / 1.443 GB, free: 4.516 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007998/0.7925, allocations: 0.5374 MB / 1.443 GB, free: 3.977 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004842/0.793, allocations: 280.8 kB / 1.443 GB, free: 3.703 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009801/0.7939, allocations: 0.6839 MB / 1.444 GB, free: 3.008 MB / 1.12 GB Notification: Performance of pre-optimization done (n=85): time 2.214e-06/0.7939, allocations: 0 / 1.444 GB, free: 3.008 MB / 1.12 GB Notification: Performance of matching and sorting (n=85): time 0.002791/0.7967, allocations: 1.823 MB / 1.446 GB, free: 1.18 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.7968, allocations: 60.41 kB / 1.446 GB, free: 1.109 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.798, allocations: 1.548 MB / 1.447 GB, free: 15.55 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 5.416e-05/0.798, allocations: 45.7 kB / 1.448 GB, free: 15.5 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004329/0.7985, allocations: 0.8038 MB / 1.448 GB, free: 14.69 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.7987, allocations: 317.4 kB / 1.449 GB, free: 14.38 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002195/0.7989, allocations: 218.8 kB / 1.449 GB, free: 14.16 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 9.98e-05/0.799, allocations: 349.9 kB / 1.449 GB, free: 13.81 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009914/0.8, allocations: 0.5256 MB / 1.45 GB, free: 13.29 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001154/0.8011, allocations: 1.137 MB / 1.451 GB, free: 11.93 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001896/0.803, allocations: 1.418 MB / 1.452 GB, free: 10.35 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.803, allocations: 4 kB / 1.452 GB, free: 10.35 MB / 1.135 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002332/0.8054, allocations: 1.629 MB / 1.454 GB, free: 8.715 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/0.8054, allocations: 12 kB / 1.454 GB, free: 8.703 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/0.8054, allocations: 8 kB / 1.454 GB, free: 8.695 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.862e-05/0.8054, allocations: 24.03 kB / 1.454 GB, free: 8.672 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006975/0.8061, allocations: 351.4 kB / 1.454 GB, free: 8.328 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/0.8061, allocations: 19.94 kB / 1.454 GB, free: 8.309 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007013/0.8068, allocations: 234.8 kB / 1.454 GB, free: 8.078 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.489e-05/0.8069, allocations: 63.97 kB / 1.454 GB, free: 8.016 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (140): * Single equations (assignments): 140 * 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.0003767/0.8073, allocations: 343.9 kB / 1.455 GB, free: 7.672 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/0.8075, allocations: 182.9 kB / 1.455 GB, free: 7.492 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003054/0.8105, allocations: 2.182 MB / 1.457 GB, free: 5.301 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.396e-05/0.8106, allocations: 23.97 kB / 1.457 GB, free: 5.277 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.8106, allocations: 0 / 1.457 GB, free: 5.277 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.8106, allocations: 11.92 kB / 1.457 GB, free: 5.266 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003742/0.8143, allocations: 3.239 MB / 1.46 GB, free: 1.953 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.8143, allocations: 4 kB / 1.46 GB, free: 1.949 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005647/0.8149, allocations: 243.8 kB / 1.46 GB, free: 1.711 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.8149, allocations: 8 kB / 1.46 GB, free: 1.703 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.255e-05/0.8149, allocations: 31.97 kB / 1.461 GB, free: 1.672 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.815, allocations: 8 kB / 1.461 GB, free: 1.664 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.815, allocations: 0 / 1.461 GB, free: 1.664 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003613/0.8186, allocations: 2.834 MB / 1.463 GB, free: 14.79 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003694/0.8189, allocations: 326.3 kB / 1.464 GB, free: 14.47 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.819, allocations: 23.98 kB / 1.464 GB, free: 14.45 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005023/0.8195, allocations: 119.9 kB / 1.464 GB, free: 14.33 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.8197, allocations: 84.84 kB / 1.464 GB, free: 14.25 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-05/0.8197, allocations: 51.95 kB / 1.464 GB, free: 14.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008656/0.8206, allocations: 1.034 MB / 1.465 GB, free: 13.17 MB / 1.151 GB Notification: Performance of sort global known variables: time 8e-08/0.8206, allocations: 0 / 1.465 GB, free: 13.17 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001062/0.8216, allocations: 0.5496 MB / 1.465 GB, free: 12.62 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (116): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 25 * 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.004801/0.8264, allocations: 4.15 MB / 1.469 GB, free: 8.617 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002199/0.8286, allocations: 1.45 MB / 1.471 GB, free: 7.172 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8286, allocations: 0 / 1.471 GB, free: 7.172 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.8297, allocations: 0.7871 MB / 1.472 GB, free: 6.387 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001603/0.8313, allocations: 0.6977 MB / 1.472 GB, free: 5.695 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01337/0.8447, allocations: 12.7 MB / 1.485 GB, free: 8.449 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004562/0.8451, allocations: 0.7271 MB / 1.485 GB, free: 7.691 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008307/0.8459, allocations: 368.7 kB / 1.486 GB, free: 7.324 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000636/0.8466, allocations: 0.7139 MB / 1.487 GB, free: 6.609 MB / 1.167 GB Notification: Performance of SimCode: time 6.72e-07/0.8466, allocations: 0 / 1.487 GB, free: 6.609 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1259/0.9724, allocations: 51.37 MB / 1.537 GB, free: 4.082 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.9/8.872, allocations: 10.16 kB / 1.537 GB, free: 4.078 MB / 1.214 GB " [Timeout remaining time 291] (rm -f Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu) > Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_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_Water.fmu) > Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.840677049942315]