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.001654/0.001654, allocations: 104.3 kB / 19.7 MB, free: 2.059 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.002293/0.002293, allocations: 212.6 kB / 22.99 MB, free: 4.867 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.9738/0.9738, allocations: 149.9 MB / 463.1 MB, free: 10.41 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.002087/0.002087, allocations: 62.94 kB / 0.641 GB, free: 10.18 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1962, allocations: 89.18 MB / 0.7281 GB, free: 1.078 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Delays.Examples.Delay): time 0.6175/0.8136, allocations: 162 MB / 0.8863 GB, free: 3.309 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.009695/0.8233, allocations: 4.58 MB / 0.8908 GB, free: 14.72 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001299/0.8246, allocations: 43.62 kB / 0.8908 GB, free: 14.68 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001699/0.8263, allocations: 417.4 kB / 0.8912 GB, free: 14.27 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004667/0.831, allocations: 1.455 MB / 0.8926 GB, free: 12.81 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002481/0.8335, allocations: 0.7982 MB / 0.8934 GB, free: 12.02 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003019/0.8365, allocations: 1.881 MB / 0.8952 GB, free: 10.13 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.8375, allocations: 469 kB / 0.8957 GB, free: 9.66 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002936/0.8404, allocations: 1.129 MB / 0.8968 GB, free: 8.527 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001706/0.8421, allocations: 0.5419 MB / 0.8973 GB, free: 7.984 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002655/0.8424, allocations: 60 kB / 0.8974 GB, free: 7.926 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002891/0.8453, allocations: 1.145 MB / 0.8985 GB, free: 6.777 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004813/0.8458, allocations: 279.1 kB / 0.8988 GB, free: 6.504 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0007446/0.8465, allocations: 334.5 kB / 0.8991 GB, free: 6.176 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003257/0.8498, allocations: 1.394 MB / 0.9004 GB, free: 4.777 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.8498, allocations: 0 / 0.9004 GB, free: 4.777 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.442e-06/0.8498, allocations: 0 / 0.9004 GB, free: 4.777 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.826e-05/0.8498, allocations: 3.938 kB / 0.9004 GB, free: 4.773 MB / 0.67 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.002498/0.8523, allocations: 1.056 MB / 0.9015 GB, free: 3.684 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.8524, allocations: 12.03 kB / 0.9015 GB, free: 3.672 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001612/0.8525, allocations: 90.52 kB / 0.9016 GB, free: 3.574 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001489/0.854, allocations: 207.3 kB / 0.9018 GB, free: 3.371 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001446/0.8555, allocations: 0.565 MB / 0.9023 GB, free: 2.777 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.856e-05/0.8555, allocations: 37 kB / 0.9024 GB, free: 2.738 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.8556, allocations: 44 kB / 0.9024 GB, free: 2.695 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.8569, allocations: 0.645 MB / 0.903 GB, free: 2.004 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.8569, allocations: 4 kB / 0.903 GB, free: 2 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.298e-05/0.8569, allocations: 20 kB / 0.9031 GB, free: 1.98 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-05/0.857, allocations: 20.94 kB / 0.9031 GB, free: 1.961 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009263/0.8579, allocations: 435.7 kB / 0.9035 GB, free: 1.535 MB / 0.67 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.003204/0.8611, allocations: 1.324 MB / 0.9048 GB, free: 168 kB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00077/0.8619, allocations: 324.5 kB / 0.9051 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004036/0.8623, allocations: 197.8 kB / 0.9053 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002579/0.8625, allocations: 40.25 kB / 0.9053 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.589e-05/0.8626, allocations: 38.84 kB / 0.9054 GB, free: 15.56 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=33): time 2.154e-06/0.8626, allocations: 0 / 0.9054 GB, free: 15.56 MB / 0.6856 GB Notification: Performance of matching and sorting (n=33): time 0.001503/0.8641, allocations: 0.5538 MB / 0.9059 GB, free: 15 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/0.8641, allocations: 55.34 kB / 0.906 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007418/0.8649, allocations: 0.5147 MB / 0.9065 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.686e-05/0.8649, allocations: 37.7 kB / 0.9065 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002858/0.8652, allocations: 312.6 kB / 0.9068 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.8654, allocations: 119 kB / 0.9069 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.8655, allocations: 70.02 kB / 0.907 GB, free: 13.87 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002776/0.8658, allocations: 366.8 kB / 0.9073 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003244/0.8661, allocations: 142.1 kB / 0.9075 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005098/0.8666, allocations: 369.9 kB / 0.9078 GB, free: 12.94 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006921/0.8673, allocations: 347.2 kB / 0.9081 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.8673, allocations: 0 / 0.9081 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009169/0.8682, allocations: 428.9 kB / 0.9085 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.8682, allocations: 8 kB / 0.9086 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.8682, allocations: 0 / 0.9086 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.8683, allocations: 7.938 kB / 0.9086 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003596/0.8686, allocations: 75.98 kB / 0.9086 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.8686, allocations: 4 kB / 0.9086 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004975/0.8691, allocations: 35.77 kB / 0.9087 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-05/0.8692, allocations: 16 kB / 0.9087 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005307/0.8697, allocations: 308 kB / 0.909 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004468/0.8702, allocations: 365.6 kB / 0.9093 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006404/0.8708, allocations: 339.3 kB / 0.9097 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.948e-06/0.8708, allocations: 4 kB / 0.9097 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.00085/0.8716, allocations: 420.9 kB / 0.9101 GB, free: 10.53 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.8717, allocations: 10.5 kB / 0.9101 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.8717, allocations: 3.984 kB / 0.9101 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.544e-06/0.8717, allocations: 8.094 kB / 0.9101 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003543/0.872, allocations: 71.84 kB / 0.9101 GB, free: 10.44 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.872, allocations: 4 kB / 0.9102 GB, free: 10.44 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000485/0.8725, allocations: 35.77 kB / 0.9102 GB, free: 10.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-05/0.8726, allocations: 15.98 kB / 0.9102 GB, free: 10.39 MB / 0.6856 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.0001737/0.8727, allocations: 200.1 kB / 0.9104 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.8729, allocations: 59.62 kB / 0.9104 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009749/0.8738, allocations: 424.6 kB / 0.9109 GB, free: 9.703 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.8738, allocations: 7.938 kB / 0.9109 GB, free: 9.695 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.8738, allocations: 0.875 kB / 0.9109 GB, free: 9.695 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007156/0.8746, allocations: 437.6 kB / 0.9113 GB, free: 9.238 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002223/0.8768, allocations: 1.077 MB / 0.9123 GB, free: 8.094 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.8768, allocations: 4 kB / 0.9123 GB, free: 8.09 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004419/0.8772, allocations: 79.89 kB / 0.9124 GB, free: 8.012 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.197e-06/0.8772, allocations: 4 kB / 0.9124 GB, free: 8.008 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.237e-05/0.8773, allocations: 17.8 kB / 0.9124 GB, free: 7.992 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.8773, allocations: 4 kB / 0.9124 GB, free: 7.988 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.8773, allocations: 0 / 0.9124 GB, free: 7.988 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.8785, allocations: 0.7115 MB / 0.9131 GB, free: 7.242 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003006/0.8788, allocations: 99.52 kB / 0.9132 GB, free: 7.145 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.682e-05/0.8789, allocations: 8 kB / 0.9132 GB, free: 7.137 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004815/0.8794, allocations: 23.97 kB / 0.9133 GB, free: 7.113 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.006e-05/0.8795, allocations: 31.89 kB / 0.9133 GB, free: 7.082 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.421e-05/0.8795, allocations: 12 kB / 0.9133 GB, free: 7.07 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000489/0.88, allocations: 366.8 kB / 0.9136 GB, free: 6.715 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.88, allocations: 4 kB / 0.9137 GB, free: 6.711 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009725/0.881, allocations: 331.3 kB / 0.914 GB, free: 6.387 MB / 0.6856 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.001871/0.8828, allocations: 1.318 MB / 0.9153 GB, free: 5.023 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001168/0.884, allocations: 0.4919 MB / 0.9157 GB, free: 4.531 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.884, allocations: 4 kB / 0.9157 GB, free: 4.527 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003488/0.8844, allocations: 167.8 kB / 0.9159 GB, free: 4.363 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001663/0.886, allocations: 364.2 kB / 0.9162 GB, free: 4.031 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007627/0.8936, allocations: 4.674 MB / 0.9208 GB, free: 15.22 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/0.8941, allocations: 344.5 kB / 0.9211 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0006544/0.8947, allocations: 184.8 kB / 0.9213 GB, free: 14.67 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003766/0.8951, allocations: 219.4 kB / 0.9215 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of SimCode: time 9.62e-07/0.8951, allocations: 0 / 0.9215 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05907/0.9542, allocations: 18.78 MB / 0.9399 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.75, allocations: 8.062 kB / 0.9399 GB, free: 12.11 MB / 0.7169 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: 16.572345660999417] Failed to read output from testmodel.py, exit status != 0: 12.870260119903833 12.887560457 12.034239407 Calling exit ...