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.001247/0.001247, 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.001502/0.001502, 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.9656/0.9656, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.88/1.88, allocations: 389.6 MB / 0.6343 GB, free: 12.57 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.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 2.024e-06/2.024e-06, allocations: 0 / 1.001 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.772e-05/2.975e-05, allocations: 9.734 kB / 1.001 GB, free: 13.42 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6178/0.6178, allocations: 214.2 MB / 1.21 GB, free: 11.1 MB / 1.057 GB Notification: Performance of NFInst.instExpressions: time 0.01158/0.6294, allocations: 8.014 MB / 1.218 GB, free: 5.602 MB / 1.057 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002109/0.6315, allocations: 91.06 kB / 1.218 GB, free: 5.551 MB / 1.057 GB Notification: Performance of NFTyping.typeComponents: time 0.002444/0.634, allocations: 1.062 MB / 1.219 GB, free: 4.727 MB / 1.057 GB Notification: Performance of NFTyping.typeBindings: time 0.007407/0.6414, allocations: 3.295 MB / 1.222 GB, free: 2.219 MB / 1.057 GB Notification: Performance of NFTyping.typeClassSections: time 0.007406/0.6488, allocations: 3.63 MB / 1.226 GB, free: 15.52 MB / 1.073 GB Notification: Performance of NFFlatten.flatten: time 0.00492/0.6537, allocations: 3.995 MB / 1.23 GB, free: 13.18 MB / 1.073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001842/0.6555, allocations: 1.077 MB / 1.231 GB, free: 12.41 MB / 1.073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004864/0.6604, allocations: 2.823 MB / 1.233 GB, free: 10.68 MB / 1.073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001735/0.6621, allocations: 1.261 MB / 1.235 GB, free: 10.04 MB / 1.073 GB Notification: Performance of NFPackage.collectConstants: time 0.0002784/0.6624, allocations: 139.3 kB / 1.235 GB, free: 10.04 MB / 1.073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005576/0.668, allocations: 3.239 MB / 1.238 GB, free: 8.203 MB / 1.073 GB Notification: Performance of NFScalarize.scalarize: time 0.0007499/0.6687, allocations: 0.6525 MB / 1.238 GB, free: 7.746 MB / 1.073 GB Notification: Performance of NFVerifyModel.verify: time 0.001097/0.6698, allocations: 0.6779 MB / 1.239 GB, free: 7.434 MB / 1.073 GB Notification: Performance of NFConvertDAE.convert: time 0.007163/0.677, allocations: 3.911 MB / 1.243 GB, free: 3.844 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.677, allocations: 0 / 1.243 GB, free: 3.844 MB / 1.073 GB Notification: Performance of FrontEnd: time 1.583e-06/0.677, allocations: 0 / 1.243 GB, free: 3.844 MB / 1.073 GB Notification: Performance of Transformations before backend: time 4.324e-05/0.6771, allocations: 0 / 1.243 GB, free: 3.844 MB / 1.073 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.004368/0.6814, allocations: 2.646 MB / 1.246 GB, free: 1.145 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.6815, allocations: 9.344 kB / 1.246 GB, free: 1.137 MB / 1.073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001852/0.6817, allocations: 198.5 kB / 1.246 GB, free: 0.9336 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004756/0.6864, allocations: 1.337 MB / 1.247 GB, free: 15.59 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001895/0.6883, allocations: 1.15 MB / 1.248 GB, free: 14.39 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.41e-05/0.6884, allocations: 102.6 kB / 1.248 GB, free: 14.29 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001726/0.6885, allocations: 135.9 kB / 1.248 GB, free: 14.16 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002885/0.6914, allocations: 2.084 MB / 1.25 GB, free: 11.98 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.6915, allocations: 8 kB / 1.25 GB, free: 11.97 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.6916, allocations: 63.86 kB / 1.251 GB, free: 11.91 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.596e-05/0.6916, allocations: 58.47 kB / 1.251 GB, free: 11.85 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00353/0.6952, allocations: 2.184 MB / 1.253 GB, free: 9.66 MB / 1.089 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007605/0.7028, allocations: 6.462 MB / 1.259 GB, free: 3.043 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00302/0.7058, allocations: 1.828 MB / 1.261 GB, free: 1.207 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001429/0.7072, allocations: 0.9374 MB / 1.262 GB, free: 276 kB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005444/0.7078, allocations: 196.8 kB / 1.262 GB, free: 80 kB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001559/0.7093, allocations: 1.067 MB / 1.263 GB, free: 15 MB / 1.104 GB Notification: Performance of pre-optimization done (n=119): time 4.359e-06/0.7093, allocations: 0 / 1.263 GB, free: 15 MB / 1.104 GB Notification: Performance of matching and sorting (n=119): time 0.005056/0.7144, allocations: 2.904 MB / 1.266 GB, free: 12.09 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.7144, allocations: 72.28 kB / 1.266 GB, free: 12.01 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/0.716, allocations: 1.686 MB / 1.267 GB, free: 10.32 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.0001162/0.7162, allocations: 53.64 kB / 1.268 GB, free: 10.26 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006104/0.7168, allocations: 0.8016 MB / 1.268 GB, free: 9.453 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003/0.7171, allocations: 432.3 kB / 1.269 GB, free: 9.027 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002785/0.7174, allocations: 242.9 kB / 1.269 GB, free: 8.781 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 9.991e-05/0.7175, allocations: 353.9 kB / 1.269 GB, free: 8.43 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/0.7188, allocations: 0.8261 MB / 1.27 GB, free: 7.605 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001566/0.7203, allocations: 1.382 MB / 1.271 GB, free: 6.047 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002762/0.7231, allocations: 1.938 MB / 1.273 GB, free: 4 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.7231, allocations: 0 / 1.273 GB, free: 4 MB / 1.104 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003601/0.7267, allocations: 2.206 MB / 1.276 GB, free: 1.785 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.7267, allocations: 14.38 kB / 1.276 GB, free: 1.773 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.7268, allocations: 8 kB / 1.276 GB, free: 1.766 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/0.7268, allocations: 16 kB / 1.276 GB, free: 1.75 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.7278, allocations: 411.4 kB / 1.276 GB, free: 1.348 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/0.7279, allocations: 23.86 kB / 1.276 GB, free: 1.324 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/0.729, allocations: 286.7 kB / 1.276 GB, free: 1.043 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.086e-05/0.7291, allocations: 63.97 kB / 1.276 GB, free: 0.9805 MB / 1.104 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.0006009/0.7297, allocations: 393 kB / 1.277 GB, free: 0.5898 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002171/0.7299, allocations: 198.7 kB / 1.277 GB, free: 404 kB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00332/0.7332, allocations: 2.221 MB / 1.279 GB, free: 14.17 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/0.7332, allocations: 12 kB / 1.279 GB, free: 14.16 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.7332, allocations: 7.938 kB / 1.279 GB, free: 14.15 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/0.7332, allocations: 7.969 kB / 1.279 GB, free: 14.14 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005823/0.7391, allocations: 4.287 MB / 1.283 GB, free: 9.711 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.7391, allocations: 5.5 kB / 1.283 GB, free: 9.707 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009952/0.7401, allocations: 352.3 kB / 1.284 GB, free: 9.363 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-05/0.7401, allocations: 12 kB / 1.284 GB, free: 9.352 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.862e-05/0.7402, allocations: 43.97 kB / 1.284 GB, free: 9.309 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.284e-05/0.7402, allocations: 15.94 kB / 1.284 GB, free: 9.293 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.7402, allocations: 4 kB / 1.284 GB, free: 9.289 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004861/0.745, allocations: 3.508 MB / 1.287 GB, free: 5.68 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006038/0.7456, allocations: 346.3 kB / 1.287 GB, free: 5.34 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001764/0.7458, allocations: 31.98 kB / 1.287 GB, free: 5.309 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008506/0.7467, allocations: 167.8 kB / 1.288 GB, free: 5.145 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.7468, allocations: 100.7 kB / 1.288 GB, free: 5.047 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-05/0.7469, allocations: 56.72 kB / 1.288 GB, free: 4.992 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.001145/0.748, allocations: 1.146 MB / 1.289 GB, free: 3.855 MB / 1.12 GB Notification: Performance of sort global known variables: time 7e-08/0.748, allocations: 4 kB / 1.289 GB, free: 3.852 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.001064/0.7491, allocations: 495.5 kB / 1.289 GB, free: 3.367 MB / 1.12 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.005925/0.755, allocations: 4.548 MB / 1.294 GB, free: 14.91 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.003384/0.7584, allocations: 1.923 MB / 1.296 GB, free: 12.98 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.7584, allocations: 0 / 1.296 GB, free: 12.98 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.001551/0.76, allocations: 0.9791 MB / 1.297 GB, free: 12.01 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002617/0.7626, allocations: 0.9359 MB / 1.298 GB, free: 11.09 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0215/0.7841, allocations: 16.05 MB / 1.313 GB, free: 10.41 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005632/0.7846, allocations: 0.8074 MB / 1.314 GB, free: 9.562 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001333/0.786, allocations: 466.5 kB / 1.314 GB, free: 9.102 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007973/0.7868, allocations: 0.7307 MB / 1.315 GB, free: 8.371 MB / 1.151 GB Notification: Performance of SimCode: time 1.232e-06/0.7868, allocations: 0 / 1.315 GB, free: 8.371 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1274/0.9142, allocations: 55.23 MB / 1.369 GB, free: 2.133 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.904/9.818, allocations: 13 kB / 1.369 GB, free: 2.125 MB / 1.198 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.52927418332547]