Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay") translateModel(BuildingSystems.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001119/0.001119, allocations: 109.7 kB / 16.41 MB, free: 6.512 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.001181/0.001181, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.361/1.361, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002126/0.002126, allocations: 280.7 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9616/0.9616, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 95.86 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5372/0.539, allocations: 86.98 MB / 0.767 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Delays.Examples.Delay): time 0.2071/0.7462, allocations: 183.2 MB / 0.946 GB, free: 11.97 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008183/0.7544, allocations: 4.871 MB / 0.9507 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001253/0.7557, allocations: 31.81 kB / 0.9508 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.757, allocations: 445.3 kB / 0.9512 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003586/0.7607, allocations: 1.47 MB / 0.9526 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001985/0.7626, allocations: 0.7822 MB / 0.9534 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002167/0.7648, allocations: 1.859 MB / 0.9552 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000733/0.7656, allocations: 0.5965 MB / 0.9558 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001546/0.7671, allocations: 0.8989 MB / 0.9567 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001065/0.7682, allocations: 0.5422 MB / 0.9572 GB, free: 468 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.799e-05/0.7683, allocations: 56 kB / 0.9572 GB, free: 412 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.527/1.295, allocations: 1.422 MB / 0.9586 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005485/1.296, allocations: 260.9 kB / 0.9589 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008667/1.297, allocations: 404.3 kB / 0.9593 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00354/1.3, allocations: 1.425 MB / 0.9607 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/1.3, allocations: 0 / 0.9607 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.502e-06/1.3, allocations: 1.203 kB / 0.9607 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.833e-05/1.3, allocations: 1.062 kB / 0.9607 GB, free: 4.594 MB / 0.7169 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.001756/1.302, allocations: 1.104 MB / 0.9617 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/1.302, allocations: 8.406 kB / 0.9617 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001369/1.304, allocations: 208.2 kB / 0.9619 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/1.305, allocations: 0.6116 MB / 0.9625 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.098e-05/1.305, allocations: 36.06 kB / 0.9626 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-05/1.305, allocations: 55.44 kB / 0.9626 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009815/1.306, allocations: 497.9 kB / 0.9631 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/1.306, allocations: 1.094 kB / 0.9631 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.056e-05/1.306, allocations: 19.91 kB / 0.9631 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.675e-05/1.306, allocations: 17.58 kB / 0.9631 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008593/1.307, allocations: 439.7 kB / 0.9636 GB, free: 3.617 MB / 0.7169 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.003046/1.31, allocations: 2.005 MB / 0.9655 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005823/1.31, allocations: 347.6 kB / 0.9659 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003336/1.311, allocations: 209 kB / 0.9661 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003008/1.311, allocations: 199.3 kB / 0.9662 GB, free: 18.42 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/1.311, allocations: 38.62 kB / 0.9663 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 2.505e-06/1.311, allocations: 0 / 0.9663 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.001201/1.312, allocations: 0.5443 MB / 0.9668 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/1.312, allocations: 55.59 kB / 0.9669 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005635/1.313, allocations: 0.5051 MB / 0.9674 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.346e-05/1.313, allocations: 32.73 kB / 0.9674 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/1.313, allocations: 306.4 kB / 0.9677 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/1.313, allocations: 117.7 kB / 0.9678 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/1.313, allocations: 67.91 kB / 0.9679 GB, free: 17.87 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001496/1.314, allocations: 364.4 kB / 0.9682 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002742/1.314, allocations: 147 kB / 0.9683 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003395/1.314, allocations: 211.1 kB / 0.9685 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005841/1.315, allocations: 332.7 kB / 0.9689 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.315, allocations: 2.312 kB / 0.9689 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007601/1.316, allocations: 433.6 kB / 0.9693 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/1.316, allocations: 5.5 kB / 0.9693 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/1.316, allocations: 4.812 kB / 0.9693 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/1.316, allocations: 6.688 kB / 0.9693 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003401/1.316, allocations: 72 kB / 0.9694 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/1.316, allocations: 4.609 kB / 0.9694 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004819/1.317, allocations: 34.14 kB / 0.9694 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.666e-05/1.317, allocations: 14.69 kB / 0.9694 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004541/1.317, allocations: 309.1 kB / 0.9697 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002778/1.317, allocations: 214.3 kB / 0.9699 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005326/1.318, allocations: 334.6 kB / 0.9702 GB, free: 17.19 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.122e-06/1.318, allocations: 0 / 0.9702 GB, free: 17.19 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006634/1.319, allocations: 424.7 kB / 0.9706 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.072e-06/1.319, allocations: 7.062 kB / 0.9706 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-06/1.319, allocations: 3.062 kB / 0.9706 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.008e-06/1.319, allocations: 3.781 kB / 0.9707 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003013/1.319, allocations: 76.31 kB / 0.9707 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/1.319, allocations: 3.375 kB / 0.9707 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004297/1.319, allocations: 37.89 kB / 0.9708 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/1.319, allocations: 11 kB / 0.9708 GB, free: 17.11 MB / 0.7325 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.0001464/1.32, allocations: 200.7 kB / 0.971 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.877e-05/1.32, allocations: 64.22 kB / 0.971 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007246/1.32, allocations: 428.4 kB / 0.9714 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005634/1.321, allocations: 437.7 kB / 0.9719 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/1.321, allocations: 0.8438 kB / 0.9719 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002294/1.321, allocations: 173.3 kB / 0.972 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.912e-05/1.321, allocations: 11.34 kB / 0.972 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004435/1.322, allocations: 22.69 kB / 0.9721 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.574e-05/1.322, allocations: 20.08 kB / 0.9721 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009305/1.323, allocations: 489.5 kB / 0.9725 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009674/1.324, allocations: 0.7603 MB / 0.9733 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000256/1.324, allocations: 167.3 kB / 0.9734 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003545/1.324, allocations: 364.8 kB / 0.9738 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of Backend: time 6.91e-07/1.324, allocations: 0.9688 kB / 0.9738 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002067/1.326, allocations: 0.749 MB / 0.9745 GB, free: 16 MB / 0.7325 GB Notification: Performance of SimCode: time 0.002746/1.329, allocations: 1.835 MB / 0.9763 GB, free: 15 MB / 0.7325 GB Notification: Performance of Templates: time 0.02248/1.352, allocations: 15.45 MB / 0.9914 GB, free: 14.05 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.sim & ./BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe 2>&1)