Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.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.001905/0.001905, allocations: 119 kB / 19.69 MB, free: 2.199 MB / 14.72 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.002369/0.002369, allocations: 221.6 kB / 23.01 MB, free: 5.047 MB / 14.72 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 1.61/1.61, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9935/0.9935, allocations: 150 MB / 463.2 MB, free: 10.44 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.Delays.Examples.Delay,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Delays.Examples.Delay,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002432/0.002432, allocations: 69.77 kB / 0.6412 GB, free: 10.33 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.2007, allocations: 89.18 MB / 0.7283 GB, free: 1.23 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Delays.Examples.Delay): time 0.685/0.8857, allocations: 187.1 MB / 0.9111 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01017/0.8959, allocations: 4.908 MB / 0.9159 GB, free: 7.219 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001402/0.8973, allocations: 43.62 kB / 0.9159 GB, free: 7.176 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001648/0.8989, allocations: 453.3 kB / 0.9163 GB, free: 6.73 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004776/0.9037, allocations: 1.49 MB / 0.9178 GB, free: 5.234 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002833/0.9065, allocations: 0.8177 MB / 0.9186 GB, free: 4.422 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003962/0.9105, allocations: 1.89 MB / 0.9204 GB, free: 2.527 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001211/0.9117, allocations: 469 kB / 0.9209 GB, free: 2.055 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003407/0.9151, allocations: 1.137 MB / 0.922 GB, free: 0.9141 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00194/0.917, allocations: 0.573 MB / 0.9226 GB, free: 352 kB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002853/0.9173, allocations: 56 kB / 0.9226 GB, free: 296 kB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003634/0.921, allocations: 1.481 MB / 0.9241 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0005933/0.9216, allocations: 279.1 kB / 0.9243 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001039/0.9226, allocations: 402.1 kB / 0.9247 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003907/0.9265, allocations: 1.433 MB / 0.9261 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.9265, allocations: 0 / 0.9261 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9265, allocations: 0 / 0.9261 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.24e-05/0.9265, allocations: 0 / 0.9261 GB, free: 12.7 MB / 0.7012 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.00284/0.9294, allocations: 1.052 MB / 0.9271 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/0.9294, allocations: 16.03 kB / 0.9272 GB, free: 11.6 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001986/0.9296, allocations: 87.39 kB / 0.9272 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00172/0.9314, allocations: 215.2 kB / 0.9274 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/0.933, allocations: 0.5601 MB / 0.928 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.913e-05/0.933, allocations: 37 kB / 0.928 GB, free: 10.67 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/0.9332, allocations: 48 kB / 0.9281 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.9344, allocations: 0.4905 MB / 0.9286 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.9345, allocations: 0 / 0.9286 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.61e-05/0.9345, allocations: 20 kB / 0.9286 GB, free: 10.1 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-05/0.9346, allocations: 21.44 kB / 0.9286 GB, free: 10.08 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009951/0.9356, allocations: 439.7 kB / 0.929 GB, free: 9.652 MB / 0.7012 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.004058/0.9396, allocations: 2.045 MB / 0.931 GB, free: 7.418 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007995/0.9404, allocations: 320.1 kB / 0.9313 GB, free: 7.098 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003979/0.9408, allocations: 202.5 kB / 0.9315 GB, free: 6.898 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002854/0.9411, allocations: 44.23 kB / 0.9315 GB, free: 6.855 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.9412, allocations: 34.84 kB / 0.9316 GB, free: 6.812 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=33): time 2.554e-06/0.9412, allocations: 3.938 kB / 0.9316 GB, free: 6.809 MB / 0.7012 GB Notification: Performance of matching and sorting (n=33): time 0.001582/0.9427, allocations: 0.5538 MB / 0.9321 GB, free: 6.25 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.9428, allocations: 59.34 kB / 0.9322 GB, free: 6.18 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008369/0.9436, allocations: 0.5108 MB / 0.9327 GB, free: 5.66 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.11e-05/0.9437, allocations: 37.64 kB / 0.9327 GB, free: 5.617 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002885/0.944, allocations: 304.6 kB / 0.933 GB, free: 5.316 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000172/0.9442, allocations: 122.9 kB / 0.9331 GB, free: 5.195 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.9443, allocations: 74.02 kB / 0.9332 GB, free: 5.117 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002042/0.9445, allocations: 366.8 kB / 0.9335 GB, free: 4.75 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003231/0.9449, allocations: 142.1 kB / 0.9337 GB, free: 4.609 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003946/0.9452, allocations: 219.6 kB / 0.9339 GB, free: 4.371 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006822/0.9459, allocations: 336.8 kB / 0.9342 GB, free: 4.031 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.9459, allocations: 0 / 0.9342 GB, free: 4.031 MB / 0.7012 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009887/0.9469, allocations: 436.9 kB / 0.9346 GB, free: 3.598 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.9469, allocations: 8 kB / 0.9346 GB, free: 3.59 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.947, allocations: 0 / 0.9346 GB, free: 3.59 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.794e-05/0.947, allocations: 7.938 kB / 0.9346 GB, free: 3.582 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003837/0.9474, allocations: 72.66 kB / 0.9347 GB, free: 3.512 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.9474, allocations: 0 / 0.9347 GB, free: 3.512 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005571/0.9479, allocations: 39.75 kB / 0.9347 GB, free: 3.473 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.307e-05/0.948, allocations: 20.09 kB / 0.9348 GB, free: 3.453 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005499/0.9485, allocations: 304 kB / 0.9351 GB, free: 3.152 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003648/0.9489, allocations: 211.3 kB / 0.9353 GB, free: 2.922 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000646/0.9495, allocations: 339.2 kB / 0.9356 GB, free: 2.578 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.824e-06/0.9495, allocations: 0 / 0.9356 GB, free: 2.578 MB / 0.7012 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0009108/0.9505, allocations: 428.9 kB / 0.936 GB, free: 2.152 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.9505, allocations: 4.094 kB / 0.936 GB, free: 2.148 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.9505, allocations: 11.19 kB / 0.936 GB, free: 2.141 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.121e-06/0.9505, allocations: 0 / 0.936 GB, free: 2.141 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003494/0.9508, allocations: 75.83 kB / 0.9361 GB, free: 2.066 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.9508, allocations: 1.016 kB / 0.9361 GB, free: 2.066 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005061/0.9513, allocations: 35.83 kB / 0.9361 GB, free: 2.031 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.073e-05/0.9514, allocations: 12 kB / 0.9361 GB, free: 2.02 MB / 0.7012 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.0001972/0.9516, allocations: 196.2 kB / 0.9363 GB, free: 1.82 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.9517, allocations: 67.62 kB / 0.9364 GB, free: 1.754 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009467/0.9527, allocations: 430.9 kB / 0.9368 GB, free: 1.324 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.9527, allocations: 0 / 0.9368 GB, free: 1.324 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.9527, allocations: 4 kB / 0.9368 GB, free: 1.32 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007549/0.9534, allocations: 437.6 kB / 0.9372 GB, free: 0.8633 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002467/0.9559, allocations: 1.151 MB / 0.9383 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.9559, allocations: 0 / 0.9383 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004669/0.9564, allocations: 84.08 kB / 0.9384 GB, free: 15.56 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.246e-05/0.9564, allocations: 7.938 kB / 0.9384 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.535e-05/0.9564, allocations: 12 kB / 0.9384 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.084e-06/0.9564, allocations: 4 kB / 0.9384 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.9564, allocations: 1.719 kB / 0.9384 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/0.9578, allocations: 0.7113 MB / 0.9391 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003632/0.9581, allocations: 99.56 kB / 0.9392 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.9583, allocations: 11.98 kB / 0.9392 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005033/0.9588, allocations: 23.98 kB / 0.9393 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.726e-05/0.9589, allocations: 27.89 kB / 0.9393 GB, free: 14.63 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.59e-05/0.9589, allocations: 15.98 kB / 0.9393 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005357/0.9594, allocations: 374.8 kB / 0.9397 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.9594, allocations: 0 / 0.9397 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001063/0.9605, allocations: 319.5 kB / 0.94 GB, free: 13.94 MB / 0.7169 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.001961/0.9624, allocations: 1.32 MB / 0.9413 GB, free: 12.58 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001177/0.9636, allocations: 0.4954 MB / 0.9417 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.9636, allocations: 0 / 0.9417 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003533/0.964, allocations: 169.1 kB / 0.9419 GB, free: 11.92 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001915/0.9659, allocations: 361.9 kB / 0.9422 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008312/0.9742, allocations: 4.674 MB / 0.9468 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008779/0.9751, allocations: 0.9412 MB / 0.9477 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008084/0.9759, allocations: 180.8 kB / 0.9479 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004356/0.9763, allocations: 215.4 kB / 0.9481 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of SimCode: time 1.232e-06/0.9763, allocations: 4 kB / 0.9481 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06207/1.038, allocations: 17.25 MB / 0.965 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/13.28, allocations: 8.047 kB / 0.965 GB, free: 4.473 MB / 0.7325 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --stepSize=0.12 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Delays_Examples_Delay.fmu > IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.32210784382187] Failed to read output from testmodel.py, exit status != 0: 13.399952213978395 13.429434453 12.496729201 Calling exit ...