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.00129/0.00129, allocations: 119 kB / 17.08 MB, free: 5.969 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.001314/0.001314, allocations: 196.7 kB / 18.02 MB, free: 5.047 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.27/1.27, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7033/0.7033, allocations: 115.3 MB / 407.2 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 60.97 kB / 0.5583 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1406, allocations: 76.19 MB / 0.6327 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.5567/0.6973, allocations: 189.7 MB / 0.8179 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007952/0.7053, allocations: 4.282 MB / 0.8221 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001757/0.7071, allocations: 28.81 kB / 0.8221 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001714/0.7089, allocations: 0.4957 MB / 0.8226 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004852/0.7138, allocations: 1.581 MB / 0.8242 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003847/0.7177, allocations: 1.34 MB / 0.8255 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003394/0.7211, allocations: 2.265 MB / 0.8277 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00194/0.723, allocations: 1.077 MB / 0.8287 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002109/0.7252, allocations: 0.9639 MB / 0.8297 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001671/0.7268, allocations: 0.8732 MB / 0.8305 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005062/0.7274, allocations: 138.3 kB / 0.8307 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002986/0.7304, allocations: 1.239 MB / 0.8319 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007798/0.7311, allocations: 426 kB / 0.8323 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001445/0.7326, allocations: 0.6444 MB / 0.8329 GB, free: 2.727 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004036/0.7367, allocations: 1.974 MB / 0.8348 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.7367, allocations: 2.875 kB / 0.8349 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.933e-06/0.7367, allocations: 0 / 0.8349 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.388e-05/0.7368, allocations: 0 / 0.8349 GB, free: 1.43 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.005724/0.7425, allocations: 1.721 MB / 0.8365 GB, free: 176 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.7425, allocations: 10.41 kB / 0.8365 GB, free: 176 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.7436, allocations: 185 kB / 0.8367 GB, free: 84 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002321/0.746, allocations: 1.079 MB / 0.8378 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.535e-05/0.746, allocations: 42.53 kB / 0.8378 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.7462, allocations: 62.75 kB / 0.8379 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.7473, allocations: 0.6101 MB / 0.8385 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.7473, allocations: 0 / 0.8385 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.055e-05/0.7474, allocations: 20.81 kB / 0.8385 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.493e-05/0.7474, allocations: 20.72 kB / 0.8385 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.7486, allocations: 0.6259 MB / 0.8391 GB, free: 14.57 MB / 0.6075 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.003942/0.7526, allocations: 2.656 MB / 0.8417 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.7536, allocations: 0.5419 MB / 0.8422 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005676/0.7542, allocations: 353.2 kB / 0.8426 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003886/0.7546, allocations: 289.8 kB / 0.8429 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.7546, allocations: 40.59 kB / 0.8429 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000681/0.7553, allocations: 143 kB / 0.843 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.474e-06/0.7553, allocations: 3.938 kB / 0.843 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43): time 0.002172/0.7575, allocations: 1.014 MB / 0.844 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.7576, allocations: 56.06 kB / 0.8441 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001788/0.7594, allocations: 1.277 MB / 0.8453 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.924e-05/0.7594, allocations: 41.27 kB / 0.8454 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000347/0.7598, allocations: 435.9 kB / 0.8458 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.7599, allocations: 146 kB / 0.8459 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001902/0.7601, allocations: 121 kB / 0.846 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.7603, allocations: 328.7 kB / 0.8463 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005149/0.7608, allocations: 271.3 kB / 0.8466 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000726/0.7615, allocations: 488 kB / 0.8471 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.7626, allocations: 0.5884 MB / 0.8476 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.7626, allocations: 0 / 0.8476 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001441/0.7641, allocations: 0.7378 MB / 0.8484 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.7641, allocations: 6.031 kB / 0.8484 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.7641, allocations: 0 / 0.8484 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.7641, allocations: 4.562 kB / 0.8484 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006564/0.7648, allocations: 119.8 kB / 0.8485 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.7648, allocations: 7.984 kB / 0.8485 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/0.766, allocations: 92.38 kB / 0.8486 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.824e-05/0.7661, allocations: 25.09 kB / 0.8486 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007539/0.7669, allocations: 471.4 kB / 0.8491 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006743/0.7675, allocations: 485.9 kB / 0.8495 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00102/0.7686, allocations: 0.5833 MB / 0.8501 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.313e-06/0.7686, allocations: 0 / 0.8501 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001384/0.77, allocations: 0.7344 MB / 0.8508 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.77, allocations: 7.938 kB / 0.8508 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-06/0.77, allocations: 4 kB / 0.8508 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.308e-06/0.77, allocations: 0 / 0.8508 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006089/0.7706, allocations: 123.8 kB / 0.8509 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.7706, allocations: 2.422 kB / 0.8509 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.7719, allocations: 128.2 kB / 0.8511 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.143e-05/0.772, allocations: 27.92 kB / 0.8511 GB, free: 4.871 MB / 0.6075 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.0002115/0.7722, allocations: 204.1 kB / 0.8513 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001989/0.7724, allocations: 110.7 kB / 0.8514 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001657/0.7741, allocations: 0.8046 MB / 0.8522 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.7741, allocations: 8.875 kB / 0.8522 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.7741, allocations: 0 / 0.8522 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.7741, allocations: 7.984 kB / 0.8522 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003082/0.7772, allocations: 1.95 MB / 0.8541 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.7772, allocations: 0 / 0.8541 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005533/0.7778, allocations: 116.1 kB / 0.8542 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.7778, allocations: 8 kB / 0.8542 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.326e-05/0.7779, allocations: 15.98 kB / 0.8542 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.7779, allocations: 7.938 kB / 0.8542 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.7779, allocations: 4 kB / 0.8542 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001954/0.7798, allocations: 1.234 MB / 0.8554 GB, free: 284 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004655/0.7803, allocations: 283.7 kB / 0.8557 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001817/0.7805, allocations: 12 kB / 0.8557 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.7815, allocations: 71.91 kB / 0.8558 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.7816, allocations: 43.84 kB / 0.8558 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.294e-05/0.7817, allocations: 19.98 kB / 0.8559 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001423/0.7831, allocations: 0.9247 MB / 0.8568 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7831, allocations: 0 / 0.8568 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001206/0.7843, allocations: 403.4 kB / 0.8571 GB, free: 14.51 MB / 0.6231 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.0005169/0.7849, allocations: 214.8 kB / 0.8574 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00193/0.7868, allocations: 0.9318 MB / 0.8583 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.7868, allocations: 0 / 0.8583 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006109/0.7874, allocations: 344.1 kB / 0.8586 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001887/0.7893, allocations: 440 kB / 0.859 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002908/0.7923, allocations: 1.733 MB / 0.8607 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006375/0.7929, allocations: 1.045 MB / 0.8617 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004081/0.7933, allocations: 99.38 kB / 0.8618 GB, free: 9.641 MB / 0.6231 GB Notification: Performance of SimCode: time 7.61e-07/0.7933, allocations: 0 / 0.8618 GB, free: 9.641 MB / 0.6231 GB Notification: Performance of Templates: time 0.02664/0.82, allocations: 16.49 MB / 0.8779 GB, free: 9.293 MB / 0.6387 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)