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.001067/0.001067, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 181.9 kB / 16.92 MB, free: 6.914 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.49/1.49, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.683/0.683, allocations: 115.5 MB / 407.6 MB, free: 2.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003408, allocations: 8 kB / 495.9 MB, free: 6.367 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1678, allocations: 77.53 MB / 0.5599 GB, free: 9.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Delays.Examples.Delay): time 0.5221/0.6899, allocations: 178.6 MB / 0.7344 GB, free: 4.23 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00819/0.6981, allocations: 4.885 MB / 0.7391 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007696/0.699, allocations: 23.88 kB / 0.7391 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.7001, allocations: 366.1 kB / 0.7395 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003275/0.7033, allocations: 1.338 MB / 0.7408 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001894/0.7052, allocations: 0.696 MB / 0.7415 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00286/0.7081, allocations: 2.526 MB / 0.7439 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007011/0.7088, allocations: 0.4938 MB / 0.7444 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001561/0.7104, allocations: 0.7585 MB / 0.7452 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/0.7114, allocations: 0.5478 MB / 0.7457 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.711e-05/0.7115, allocations: 24 kB / 0.7457 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002541/0.7141, allocations: 1.613 MB / 0.7473 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002364/0.7143, allocations: 223.3 kB / 0.7475 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000369/0.7147, allocations: 383.8 kB / 0.7479 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0018/0.7165, allocations: 1.445 MB / 0.7493 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.7165, allocations: 0 / 0.7493 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.313e-06/0.7165, allocations: 0 / 0.7493 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.7165, allocations: 4 kB / 0.7493 GB, free: 4.879 MB / 0.5606 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.001531/0.7181, allocations: 0.9636 MB / 0.7502 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.7181, allocations: 16.02 kB / 0.7503 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001276/0.7194, allocations: 214.8 kB / 0.7505 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009016/0.7203, allocations: 0.5809 MB / 0.751 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.464e-05/0.7204, allocations: 37 kB / 0.7511 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.908e-05/0.7205, allocations: 44 kB / 0.7511 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009294/0.7214, allocations: 0.4945 MB / 0.7516 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.7214, allocations: 0 / 0.7516 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.179e-05/0.7215, allocations: 23.94 kB / 0.7516 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.816e-05/0.7215, allocations: 17 kB / 0.7516 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007991/0.7223, allocations: 447.7 kB / 0.7521 GB, free: 1.961 MB / 0.5606 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.002889/0.7252, allocations: 2.025 MB / 0.754 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006406/0.7259, allocations: 359.4 kB / 0.7544 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003597/0.7263, allocations: 214.9 kB / 0.7546 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000287/0.7266, allocations: 190.5 kB / 0.7548 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.7266, allocations: 38.84 kB / 0.7548 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 1.794e-06/0.7266, allocations: 0 / 0.7548 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.00126/0.7279, allocations: 0.5566 MB / 0.7553 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.7279, allocations: 63.34 kB / 0.7554 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006624/0.7286, allocations: 0.503 MB / 0.7559 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.997e-05/0.7286, allocations: 37.7 kB / 0.7559 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002719/0.7289, allocations: 304.2 kB / 0.7562 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.729, allocations: 118.3 kB / 0.7563 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.7292, allocations: 29.7 kB / 0.7564 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002349/0.7294, allocations: 366.8 kB / 0.7567 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003461/0.7298, allocations: 144.6 kB / 0.7568 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003361/0.7301, allocations: 212.1 kB / 0.757 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006085/0.7307, allocations: 356 kB / 0.7574 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.7307, allocations: 0 / 0.7574 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007344/0.7315, allocations: 433.8 kB / 0.7578 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.082e-05/0.7316, allocations: 120.8 kB / 0.7579 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.371e-06/0.7316, allocations: 0 / 0.7579 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.7316, allocations: 4.062 kB / 0.7579 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003259/0.7319, allocations: 79.89 kB / 0.758 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.7319, allocations: 4 kB / 0.758 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005301/0.7325, allocations: 67.55 kB / 0.7581 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.117e-05/0.7325, allocations: 16 kB / 0.7581 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.844e-06/0.7325, allocations: 5.719 kB / 0.7581 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007423/0.7333, allocations: 359.7 kB / 0.7584 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.604e-06/0.7333, allocations: 3.938 kB / 0.7584 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.208e-06/0.7333, allocations: 4 kB / 0.7584 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/0.7336, allocations: 79.98 kB / 0.7585 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.7337, allocations: 3.938 kB / 0.7585 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000586/0.7343, allocations: 71.58 kB / 0.7586 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.7343, allocations: 12 kB / 0.7586 GB, free: 10.92 MB / 0.5762 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.0003041/0.7346, allocations: 289.6 kB / 0.7589 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.751e-05/0.7347, allocations: 59.34 kB / 0.7589 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007708/0.7355, allocations: 432.1 kB / 0.7593 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.7355, allocations: 4 kB / 0.7593 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.7355, allocations: 0 / 0.7593 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000615/0.7361, allocations: 456.1 kB / 0.7598 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001923/0.7381, allocations: 1.179 MB / 0.7609 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.7381, allocations: 7.938 kB / 0.7609 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003967/0.7385, allocations: 87.89 kB / 0.761 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.7385, allocations: 0 / 0.761 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.92e-05/0.7385, allocations: 12 kB / 0.761 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.7385, allocations: 192 / 0.761 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.7385, allocations: 8 kB / 0.761 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.7396, allocations: 0.7112 MB / 0.7617 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002135/0.7399, allocations: 180.3 kB / 0.7619 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.546e-05/0.7399, allocations: 8 kB / 0.7619 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000494/0.7404, allocations: 55.8 kB / 0.762 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.297e-05/0.7405, allocations: 23.97 kB / 0.762 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.902e-05/0.7406, allocations: 19.98 kB / 0.762 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003944/0.741, allocations: 358.8 kB / 0.7624 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.741, allocations: 0 / 0.7624 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009603/0.7419, allocations: 323.2 kB / 0.7627 GB, free: 6.578 MB / 0.5762 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.000435/0.7424, allocations: 192.5 kB / 0.7628 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001022/0.7434, allocations: 0.5391 MB / 0.7634 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.7434, allocations: 0 / 0.7634 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003268/0.7438, allocations: 193 kB / 0.7636 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002026/0.7458, allocations: 361.6 kB / 0.7639 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002259/0.7481, allocations: 1.562 MB / 0.7654 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007177/0.7488, allocations: 0.9296 MB / 0.7663 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006024/0.7494, allocations: 184.8 kB / 0.7665 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.7495, allocations: 51.44 kB / 0.7666 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.7495, allocations: 0 / 0.7666 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of Templates: time 0.02064/0.7702, allocations: 11.29 MB / 0.7776 GB, free: 7.402 MB / 0.5919 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)