Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.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.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 106.7 kB / 15.98 MB, free: 6.352 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.001248/0.001248, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.394/1.394, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7868/0.7868, allocations: 122.9 MB / 413.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001268, allocations: 59.89 kB / 0.4906 GB, free: 7.73 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4492/0.4505, allocations: 77.93 MB / 0.5667 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.6263/1.077, allocations: 187.2 MB / 0.7495 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008665/1.086, allocations: 4.259 MB / 0.7537 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001708/1.087, allocations: 23.66 kB / 0.7537 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001525/1.089, allocations: 440.5 kB / 0.7541 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005559/1.094, allocations: 1.467 MB / 0.7556 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00459/1.099, allocations: 1.236 MB / 0.7568 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006052/1.105, allocations: 2.258 MB / 0.759 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002318/1.107, allocations: 1.058 MB / 0.76 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002776/1.11, allocations: 0.9699 MB / 0.761 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001954/1.112, allocations: 0.8914 MB / 0.7618 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003522/1.113, allocations: 140.4 kB / 0.762 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003493/1.116, allocations: 1.279 MB / 0.7632 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005029/1.117, allocations: 431.9 kB / 0.7636 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009397/1.118, allocations: 0.6507 MB / 0.7643 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003637/1.121, allocations: 2.032 MB / 0.7662 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/1.121, allocations: 0.625 kB / 0.7662 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.154e-06/1.121, allocations: 0 / 0.7662 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.682e-05/1.121, allocations: 1.938 kB / 0.7662 GB, free: 1.477 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.005151/1.126, allocations: 1.728 MB / 0.7679 GB, free: 16.65 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/1.126, allocations: 9.094 kB / 0.7679 GB, free: 16.65 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009958/1.127, allocations: 187.8 kB / 0.7681 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002425/1.13, allocations: 1.037 MB / 0.7691 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001883/1.13, allocations: 53.97 kB / 0.7692 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001563/1.13, allocations: 60.69 kB / 0.7692 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/1.132, allocations: 0.6092 MB / 0.7698 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/1.132, allocations: 0.8438 kB / 0.7698 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.218e-05/1.132, allocations: 18.59 kB / 0.7699 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-05/1.132, allocations: 20.22 kB / 0.7699 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001618/1.134, allocations: 0.6248 MB / 0.7705 GB, free: 16.2 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.004948/1.139, allocations: 2.656 MB / 0.7731 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/1.14, allocations: 0.5418 MB / 0.7736 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005797/1.14, allocations: 354.2 kB / 0.7739 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004447/1.141, allocations: 292.6 kB / 0.7742 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/1.141, allocations: 38.38 kB / 0.7743 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000932/1.142, allocations: 156.5 kB / 0.7744 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.575e-06/1.142, allocations: 0 / 0.7744 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.002197/1.144, allocations: 1.021 MB / 0.7754 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/1.144, allocations: 61.78 kB / 0.7755 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001909/1.146, allocations: 1.269 MB / 0.7767 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.912e-05/1.146, allocations: 39.36 kB / 0.7767 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003363/1.147, allocations: 438.5 kB / 0.7772 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/1.147, allocations: 149.6 kB / 0.7773 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002115/1.147, allocations: 121.1 kB / 0.7774 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001251/1.147, allocations: 326.4 kB / 0.7777 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005332/1.148, allocations: 275 kB / 0.778 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007156/1.148, allocations: 488.4 kB / 0.7785 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/1.149, allocations: 0.5847 MB / 0.779 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/1.149, allocations: 2.906 kB / 0.779 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00143/1.151, allocations: 0.7345 MB / 0.7797 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/1.151, allocations: 8.172 kB / 0.7798 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.882e-06/1.151, allocations: 0.9375 kB / 0.7798 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/1.151, allocations: 3.062 kB / 0.7798 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006621/1.152, allocations: 125.1 kB / 0.7799 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/1.152, allocations: 4.281 kB / 0.7799 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/1.153, allocations: 102.8 kB / 0.78 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.06e-05/1.153, allocations: 25.77 kB / 0.78 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007861/1.154, allocations: 470.6 kB / 0.7805 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007112/1.155, allocations: 490.4 kB / 0.7809 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001066/1.156, allocations: 0.5844 MB / 0.7815 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.804e-06/1.156, allocations: 1.203 kB / 0.7815 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001515/1.157, allocations: 0.7323 MB / 0.7822 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/1.157, allocations: 3.438 kB / 0.7822 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/1.157, allocations: 4.531 kB / 0.7822 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.529e-06/1.157, allocations: 2.781 kB / 0.7822 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00062/1.158, allocations: 122.5 kB / 0.7823 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/1.158, allocations: 2.312 kB / 0.7823 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/1.16, allocations: 134.5 kB / 0.7825 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.045e-05/1.16, allocations: 26.86 kB / 0.7825 GB, free: 13.39 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (45): * Single equations (assignments): 45 * 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.0002733/1.16, allocations: 207.9 kB / 0.7827 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002126/1.16, allocations: 107.3 kB / 0.7828 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001761/1.162, allocations: 0.8041 MB / 0.7836 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/1.162, allocations: 4.781 kB / 0.7836 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.799e-06/1.162, allocations: 4.281 kB / 0.7836 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/1.162, allocations: 0 / 0.7836 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003321/1.165, allocations: 1.953 MB / 0.7855 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/1.165, allocations: 7.531 kB / 0.7855 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005978/1.166, allocations: 107.7 kB / 0.7856 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.138e-05/1.166, allocations: 6.469 kB / 0.7856 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.847e-05/1.166, allocations: 15.61 kB / 0.7856 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/1.166, allocations: 6.891 kB / 0.7856 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/1.166, allocations: 5.688 kB / 0.7856 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002255/1.168, allocations: 1.228 MB / 0.7868 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006863/1.169, allocations: 292.8 kB / 0.7871 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003139/1.169, allocations: 19.97 kB / 0.7871 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/1.171, allocations: 76.08 kB / 0.7872 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/1.171, allocations: 40.3 kB / 0.7872 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.184e-05/1.171, allocations: 24 kB / 0.7873 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001714/1.172, allocations: 0.9241 MB / 0.7882 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2e-07/1.172, allocations: 1 kB / 0.7882 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001763/1.174, allocations: 402.1 kB / 0.7886 GB, free: 12.12 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.s[1],mixBox.filter.s[2]) * 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 (52): * Single equations (assignments): 52 * 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.0007396/1.175, allocations: 220.8 kB / 0.7888 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002496/1.177, allocations: 1.001 MB / 0.7897 GB, free: 12 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/1.178, allocations: 3.062 kB / 0.7897 GB, free: 12 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006638/1.178, allocations: 338.8 kB / 0.7901 GB, free: 12 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002788/1.181, allocations: 427.8 kB / 0.7905 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003852/1.185, allocations: 1.995 MB / 0.7924 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009118/1.186, allocations: 1.048 MB / 0.7934 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001755/1.188, allocations: 294.8 kB / 0.7937 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004832/1.188, allocations: 95.09 kB / 0.7938 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of SimCode: time 1.523e-06/1.188, allocations: 0 / 0.7938 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of Templates: time 0.04149/1.23, allocations: 21.07 MB / 0.8144 GB, free: 0.6523 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)