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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: translateModel(IBPSA.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay") translateModel(IBPSA.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 116.5 kB / 17.09 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.001091, allocations: 189.7 kB / 18.02 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.707/0.707, allocations: 115.3 MB / 407.2 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 61.7 kB / 0.5583 GB, free: 32.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1577, allocations: 76.19 MB / 0.6327 GB, free: 4.438 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Delays.Examples.Delay): time 0.6389/0.7966, allocations: 183.2 MB / 0.8116 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007887/0.8046, allocations: 4.882 MB / 0.8164 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001569/0.8062, allocations: 29.88 kB / 0.8164 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001358/0.8076, allocations: 423.4 kB / 0.8168 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00395/0.8115, allocations: 1.422 MB / 0.8182 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002248/0.8138, allocations: 0.7729 MB / 0.819 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002631/0.8164, allocations: 1.852 MB / 0.8208 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001046/0.8175, allocations: 0.6105 MB / 0.8214 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002205/0.8197, allocations: 0.8841 MB / 0.8223 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001538/0.8213, allocations: 0.5447 MB / 0.8228 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001594/0.8214, allocations: 58.19 kB / 0.8228 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003072/0.8245, allocations: 1.409 MB / 0.8242 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003634/0.8249, allocations: 262.9 kB / 0.8245 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007111/0.8256, allocations: 402.5 kB / 0.8249 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003076/0.8287, allocations: 1.416 MB / 0.8262 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.8287, allocations: 0 / 0.8262 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.512e-06/0.8287, allocations: 2.812 kB / 0.8262 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.652e-05/0.8288, allocations: 0 / 0.8262 GB, free: 5.551 MB / 0.5919 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.002463/0.8312, allocations: 1.098 MB / 0.8273 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.8313, allocations: 14 kB / 0.8273 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001398/0.8327, allocations: 210 kB / 0.8275 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.8337, allocations: 0.6194 MB / 0.8281 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.8338, allocations: 36.75 kB / 0.8282 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.669e-05/0.8339, allocations: 48.41 kB / 0.8282 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008847/0.8347, allocations: 498.8 kB / 0.8287 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.8348, allocations: 3.344 kB / 0.8287 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.111e-05/0.8348, allocations: 18.75 kB / 0.8287 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.952e-05/0.8349, allocations: 19.38 kB / 0.8287 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007209/0.8356, allocations: 436.6 kB / 0.8291 GB, free: 3.543 MB / 0.5919 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.002593/0.8382, allocations: 2.006 MB / 0.8311 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006222/0.8388, allocations: 348.2 kB / 0.8314 GB, free: 1.652 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003373/0.8392, allocations: 204.4 kB / 0.8316 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003202/0.8395, allocations: 193.2 kB / 0.8318 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.8396, allocations: 41.38 kB / 0.8319 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 2.164e-06/0.8396, allocations: 2.656 kB / 0.8319 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001224/0.8408, allocations: 0.5396 MB / 0.8324 GB, free: 1.035 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.8408, allocations: 54.22 kB / 0.8324 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005676/0.8414, allocations: 0.517 MB / 0.8329 GB, free: 0.6562 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.368e-05/0.8415, allocations: 36.61 kB / 0.833 GB, free: 0.6172 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002136/0.8417, allocations: 303.4 kB / 0.8333 GB, free: 360 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.8418, allocations: 116.2 kB / 0.8334 GB, free: 260 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.8419, allocations: 68.33 kB / 0.8334 GB, free: 216 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.8421, allocations: 363 kB / 0.8338 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002788/0.8424, allocations: 150.1 kB / 0.8339 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000339/0.8428, allocations: 212.8 kB / 0.8341 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005679/0.8433, allocations: 342.8 kB / 0.8345 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.8434, allocations: 0 / 0.8345 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007251/0.8441, allocations: 437.1 kB / 0.8349 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.8441, allocations: 7.438 kB / 0.8349 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.8441, allocations: 0 / 0.8349 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/0.8442, allocations: 3 kB / 0.8349 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003207/0.8445, allocations: 71.28 kB / 0.835 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.8445, allocations: 2.688 kB / 0.835 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000522/0.845, allocations: 47.81 kB / 0.835 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.615e-05/0.8451, allocations: 10.09 kB / 0.835 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004808/0.8456, allocations: 302.3 kB / 0.8353 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002997/0.8459, allocations: 215 kB / 0.8355 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005223/0.8464, allocations: 337 kB / 0.8358 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.155e-06/0.8464, allocations: 0 / 0.8358 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006783/0.8471, allocations: 421.2 kB / 0.8362 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.8471, allocations: 8.719 kB / 0.8362 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.8471, allocations: 2.875 kB / 0.8362 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.578e-06/0.8471, allocations: 0 / 0.8362 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002962/0.8474, allocations: 74.69 kB / 0.8363 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.8475, allocations: 2.656 kB / 0.8363 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004886/0.848, allocations: 36.81 kB / 0.8363 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/0.848, allocations: 18 kB / 0.8364 GB, free: 14.36 MB / 0.6075 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.0001563/0.8482, allocations: 196.7 kB / 0.8365 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.8483, allocations: 61.06 kB / 0.8366 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007665/0.849, allocations: 425.6 kB / 0.837 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006144/0.8497, allocations: 441 kB / 0.8374 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.8497, allocations: 0 / 0.8374 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002616/0.8499, allocations: 179 kB / 0.8376 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.204e-05/0.85, allocations: 10.56 kB / 0.8376 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000472/0.8505, allocations: 31.39 kB / 0.8376 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.842e-05/0.8506, allocations: 18.31 kB / 0.8377 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009633/0.8516, allocations: 0.4889 MB / 0.8381 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001058/0.8526, allocations: 0.7593 MB / 0.8389 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002785/0.8529, allocations: 167.9 kB / 0.839 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004254/0.8534, allocations: 367.8 kB / 0.8394 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of Backend: time 3.91e-07/0.8534, allocations: 0 / 0.8394 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002164/0.8556, allocations: 0.7518 MB / 0.8401 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of SimCode: time 0.003003/0.8586, allocations: 1.81 MB / 0.8419 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of Templates: time 0.02675/0.8853, allocations: 15.45 MB / 0.857 GB, free: 12.16 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe 2>&1)