Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 103.6 kB / 16.4 MB, free: 6.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 192.6 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.186/3.186, allocations: 489 MB / 0.7678 GB, free: 29.12 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_latest_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_latest_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 71.89 kB / 1.101 GB, free: 5.875 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8709/0.8729, allocations: 163.8 MB / 1.261 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2384/1.111, allocations: 183.3 MB / 1.44 GB, free: 15.14 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.008605/1.12, allocations: 4.876 MB / 1.445 GB, free: 10.25 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009861/1.121, allocations: 31.81 kB / 1.445 GB, free: 10.22 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001339/1.122, allocations: 433.3 kB / 1.445 GB, free: 9.797 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003723/1.126, allocations: 1.408 MB / 1.447 GB, free: 8.383 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002159/1.128, allocations: 0.7765 MB / 1.447 GB, free: 7.613 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002703/1.131, allocations: 1.848 MB / 1.449 GB, free: 5.758 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009771/1.132, allocations: 0.594 MB / 1.45 GB, free: 5.148 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002602/1.135, allocations: 1.078 MB / 1.451 GB, free: 4.066 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001373/1.136, allocations: 0.533 MB / 1.451 GB, free: 3.535 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001427/1.136, allocations: 60 kB / 1.451 GB, free: 3.477 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002906/1.139, allocations: 1.399 MB / 1.453 GB, free: 2.074 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003651/1.139, allocations: 263.3 kB / 1.453 GB, free: 1.816 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005579/1.14, allocations: 410 kB / 1.453 GB, free: 1.414 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002827/1.143, allocations: 1.421 MB / 1.455 GB, free: 15.98 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.143, allocations: 0 / 1.455 GB, free: 15.98 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.365e-06/1.143, allocations: 3.938 kB / 1.455 GB, free: 15.98 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.496e-05/1.143, allocations: 0 / 1.455 GB, free: 15.98 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002067/1.145, allocations: 1.128 MB / 1.456 GB, free: 14.8 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 7.484e-05/1.145, allocations: 11.97 kB / 1.456 GB, free: 14.79 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001125/1.145, allocations: 86.52 kB / 1.456 GB, free: 14.7 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001332/1.147, allocations: 215.3 kB / 1.456 GB, free: 14.49 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/1.148, allocations: 0.6167 MB / 1.457 GB, free: 13.83 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.674e-05/1.148, allocations: 41 kB / 1.457 GB, free: 13.79 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.747e-05/1.148, allocations: 48 kB / 1.457 GB, free: 13.75 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009279/1.149, allocations: 498.3 kB / 1.457 GB, free: 13.26 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/1.149, allocations: 0 / 1.457 GB, free: 13.26 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.202e-05/1.149, allocations: 20 kB / 1.457 GB, free: 13.24 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.509e-05/1.149, allocations: 17 kB / 1.457 GB, free: 13.22 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008585/1.15, allocations: 443.6 kB / 1.458 GB, free: 12.79 MB / 1.17 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003065/1.153, allocations: 2.085 MB / 1.46 GB, free: 10.5 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006725/1.153, allocations: 351.5 kB / 1.46 GB, free: 10.15 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003599/1.154, allocations: 211.1 kB / 1.46 GB, free: 9.941 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003177/1.154, allocations: 194.5 kB / 1.461 GB, free: 9.715 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/1.154, allocations: 38.84 kB / 1.461 GB, free: 9.668 MB / 1.17 GB Notification: Performance of pre-optimization done (n=33): time 1.673e-06/1.154, allocations: 0 / 1.461 GB, free: 9.668 MB / 1.17 GB Notification: Performance of matching and sorting (n=33): time 0.001328/1.155, allocations: 0.5389 MB / 1.461 GB, free: 9.125 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/1.156, allocations: 67.22 kB / 1.461 GB, free: 9.047 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006273/1.156, allocations: 0.5108 MB / 1.462 GB, free: 8.523 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.177e-05/1.156, allocations: 29.7 kB / 1.462 GB, free: 8.488 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002587/1.156, allocations: 308.6 kB / 1.462 GB, free: 8.184 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/1.157, allocations: 119 kB / 1.462 GB, free: 8.066 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/1.157, allocations: 69.98 kB / 1.462 GB, free: 7.992 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001929/1.157, allocations: 366.8 kB / 1.463 GB, free: 7.625 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003054/1.157, allocations: 138.1 kB / 1.463 GB, free: 7.488 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003615/1.158, allocations: 219.6 kB / 1.463 GB, free: 7.25 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00062/1.158, allocations: 343.8 kB / 1.463 GB, free: 6.902 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/1.158, allocations: 0 / 1.463 GB, free: 6.902 MB / 1.17 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007951/1.159, allocations: 430 kB / 1.464 GB, free: 6.477 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/1.159, allocations: 8 kB / 1.464 GB, free: 6.469 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.159, allocations: 3.984 kB / 1.464 GB, free: 6.465 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/1.159, allocations: 0 / 1.464 GB, free: 6.465 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003385/1.16, allocations: 79.94 kB / 1.464 GB, free: 6.387 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/1.16, allocations: 7.938 kB / 1.464 GB, free: 6.379 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004463/1.16, allocations: 35.77 kB / 1.464 GB, free: 6.344 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.624e-05/1.16, allocations: 15.98 kB / 1.464 GB, free: 6.328 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004886/1.161, allocations: 304 kB / 1.464 GB, free: 6.027 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003492/1.161, allocations: 214.6 kB / 1.464 GB, free: 5.793 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006089/1.161, allocations: 323.2 kB / 1.465 GB, free: 5.465 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.292e-06/1.162, allocations: 3.938 kB / 1.465 GB, free: 5.461 MB / 1.17 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007583/1.162, allocations: 433.1 kB / 1.465 GB, free: 5.031 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/1.162, allocations: 7.938 kB / 1.465 GB, free: 5.023 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.514e-06/1.162, allocations: 0 / 1.465 GB, free: 5.023 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.963e-06/1.162, allocations: 4 kB / 1.465 GB, free: 5.02 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003062/1.163, allocations: 67.91 kB / 1.465 GB, free: 4.953 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/1.163, allocations: 7.938 kB / 1.465 GB, free: 4.945 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004415/1.163, allocations: 36.08 kB / 1.465 GB, free: 4.91 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.197e-05/1.163, allocations: 16 kB / 1.465 GB, free: 4.895 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (39): * Single equations (assignments): 39 * 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.000177/1.163, allocations: 204.1 kB / 1.465 GB, free: 4.688 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/1.163, allocations: 59.62 kB / 1.465 GB, free: 4.629 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008329/1.164, allocations: 420.1 kB / 1.466 GB, free: 4.211 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/1.164, allocations: 7.938 kB / 1.466 GB, free: 4.203 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.164, allocations: 4 kB / 1.466 GB, free: 4.199 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006539/1.165, allocations: 428.2 kB / 1.466 GB, free: 3.75 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001937/1.167, allocations: 1.179 MB / 1.467 GB, free: 2.496 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/1.167, allocations: 0 / 1.467 GB, free: 2.496 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004227/1.167, allocations: 83.89 kB / 1.467 GB, free: 2.414 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/1.167, allocations: 4 kB / 1.467 GB, free: 2.41 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.06e-05/1.167, allocations: 8 kB / 1.467 GB, free: 2.402 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.025e-05/1.167, allocations: 7.938 kB / 1.467 GB, free: 2.395 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/1.167, allocations: 0 / 1.467 GB, free: 2.395 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/1.169, allocations: 0.7186 MB / 1.468 GB, free: 1.641 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002588/1.169, allocations: 188.7 kB / 1.468 GB, free: 1.438 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.555e-05/1.169, allocations: 8 kB / 1.468 GB, free: 1.43 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004801/1.169, allocations: 21.69 kB / 1.468 GB, free: 1.41 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.484e-05/1.17, allocations: 23.97 kB / 1.468 GB, free: 1.387 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.764e-05/1.17, allocations: 19.94 kB / 1.468 GB, free: 1.367 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0004446/1.17, allocations: 366.8 kB / 1.469 GB, free: 1.012 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.2e-07/1.17, allocations: 0 / 1.469 GB, free: 1.012 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0009277/1.171, allocations: 323.3 kB / 1.469 GB, free: 0.6953 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.medium.Xi[1],del.dynBal.U,del.dynBal.m) * 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 (33): * Single equations (assignments): 33 * 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 Backend phase and start with SimCode phase: time 0.001815/1.173, allocations: 1.343 MB / 1.47 GB, free: 15.32 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001129/1.174, allocations: 0.5159 MB / 1.471 GB, free: 14.8 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.174, allocations: 0 / 1.471 GB, free: 14.8 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003284/1.174, allocations: 184.4 kB / 1.471 GB, free: 14.62 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00166/1.176, allocations: 351.5 kB / 1.471 GB, free: 14.29 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006689/1.183, allocations: 4.663 MB / 1.476 GB, free: 9.484 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005738/1.183, allocations: 0.9295 MB / 1.477 GB, free: 8.527 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0006212/1.184, allocations: 184.8 kB / 1.477 GB, free: 8.348 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000322/1.184, allocations: 215.4 kB / 1.477 GB, free: 8.137 MB / 1.186 GB Notification: Performance of SimCode: time 1.052e-06/1.184, allocations: 0 / 1.477 GB, free: 8.137 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04786/1.232, allocations: 16.86 MB / 1.494 GB, free: 7.523 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.862/10.09, allocations: 4 kB / 1.494 GB, free: 7.52 MB / 1.201 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Delays.Examples.Delay_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --stepSize=0.12 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Delays_Examples_Delay.fmu > Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.17497097188607] Failed to read output from testmodel.py, exit status != 0: 10.169346115086228 10.183739882 9.038173752 Calling exit ...