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: "" <> buildModelFMU(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007433/0.0007433, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007958/0.0007958, allocations: 177.2 kB / 16.58 MB, free: 6.852 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.207/1.207, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6009/0.6009, allocations: 113.7 MB / 405.4 MB, free: 4.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002935/0.0002935, allocations: 8.531 kB / 493.2 MB, free: 8.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1246, allocations: 77.12 MB / 0.5569 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.4149/0.5396, allocations: 172.5 MB / 0.7254 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006195/0.5458, allocations: 4.058 MB / 0.7294 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008872/0.5467, allocations: 23.81 kB / 0.7294 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000954/0.5477, allocations: 325.8 kB / 0.7297 GB, free: 9.949 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002602/0.5503, allocations: 1.147 MB / 0.7308 GB, free: 8.797 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002557/0.5529, allocations: 1.011 MB / 0.7318 GB, free: 7.801 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002436/0.5553, allocations: 2.381 MB / 0.7341 GB, free: 5.41 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009993/0.5563, allocations: 0.8543 MB / 0.735 GB, free: 4.547 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/0.5574, allocations: 0.8132 MB / 0.7358 GB, free: 3.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000899/0.5583, allocations: 0.786 MB / 0.7365 GB, free: 2.941 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001324/0.5584, allocations: 56 kB / 0.7366 GB, free: 2.887 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001598/0.5601, allocations: 0.8145 MB / 0.7374 GB, free: 2.07 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003082/0.5604, allocations: 326.9 kB / 0.7377 GB, free: 1.75 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001957/0.5606, allocations: 221.1 kB / 0.7379 GB, free: 1.527 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001213/0.5618, allocations: 1.461 MB / 0.7393 GB, free: 64 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.5618, allocations: 0 / 0.7393 GB, free: 64 kB / 0.545 GB Notification: Performance of FrontEnd: time 7.625e-06/0.5618, allocations: 0 / 0.7393 GB, free: 64 kB / 0.545 GB Notification: Performance of Transformations before backend: time 9.769e-06/0.5618, allocations: 3.938 kB / 0.7393 GB, free: 60 kB / 0.545 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.003183/0.565, allocations: 1.499 MB / 0.7408 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.5651, allocations: 19.97 kB / 0.7408 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001065/0.5652, allocations: 90.52 kB / 0.7409 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006791/0.5659, allocations: 182.4 kB / 0.7411 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00146/0.5673, allocations: 0.9953 MB / 0.742 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.5675, allocations: 56.98 kB / 0.7421 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.91e-05/0.5676, allocations: 67.94 kB / 0.7422 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.5686, allocations: 0.6154 MB / 0.7428 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.5687, allocations: 4 kB / 0.7428 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.633e-05/0.5687, allocations: 16 kB / 0.7428 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.653e-05/0.5688, allocations: 24.94 kB / 0.7428 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.5699, allocations: 0.6402 MB / 0.7434 GB, free: 11.74 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.00342/0.5733, allocations: 2.673 MB / 0.746 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000982/0.5743, allocations: 0.5566 MB / 0.7466 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00056/0.5749, allocations: 359 kB / 0.7469 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00034/0.5753, allocations: 299.2 kB / 0.7472 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.5753, allocations: 39.19 kB / 0.7472 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005879/0.5759, allocations: 159.6 kB / 0.7474 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=43): time 2.565e-06/0.5759, allocations: 0 / 0.7474 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43): time 0.002036/0.5779, allocations: 1.052 MB / 0.7484 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.578, allocations: 63.39 kB / 0.7485 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/0.5797, allocations: 1.267 MB / 0.7497 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.496e-05/0.5797, allocations: 41.64 kB / 0.7498 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003301/0.5801, allocations: 433.7 kB / 0.7502 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.5802, allocations: 141.9 kB / 0.7503 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.5802, allocations: 12 kB / 0.7503 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.5803, allocations: 322 kB / 0.7506 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004889/0.5808, allocations: 268.6 kB / 0.7509 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006568/0.5815, allocations: 483.8 kB / 0.7513 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005479/0.582, allocations: 329 kB / 0.7517 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.5821, allocations: 0 / 0.7517 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001263/0.5833, allocations: 0.7501 MB / 0.7524 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.039e-05/0.5834, allocations: 94.89 kB / 0.7525 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.5834, allocations: 0 / 0.7525 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.5834, allocations: 11.95 kB / 0.7525 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005939/0.584, allocations: 119.8 kB / 0.7526 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.584, allocations: 3.984 kB / 0.7526 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.5851, allocations: 136.7 kB / 0.7527 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.133e-05/0.5851, allocations: 23.98 kB / 0.7528 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.727e-06/0.5851, allocations: 7.984 kB / 0.7528 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001113/0.5863, allocations: 0.6242 MB / 0.7534 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-06/0.5863, allocations: 0 / 0.7534 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.118e-06/0.5863, allocations: 8 kB / 0.7534 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005473/0.5868, allocations: 127.8 kB / 0.7535 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.5868, allocations: 0 / 0.7535 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009677/0.5878, allocations: 123.9 kB / 0.7536 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.457e-05/0.5879, allocations: 23.97 kB / 0.7537 GB, free: 0.9219 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003611/0.5882, allocations: 329 kB / 0.754 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.5884, allocations: 102.7 kB / 0.7541 GB, free: 500 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/0.59, allocations: 0.8343 MB / 0.7549 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.59, allocations: 4 kB / 0.7549 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.59, allocations: 3.984 kB / 0.7549 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.59, allocations: 4 kB / 0.7549 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002683/0.5927, allocations: 1.972 MB / 0.7568 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.5927, allocations: 4 kB / 0.7568 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005045/0.5932, allocations: 111.9 kB / 0.7569 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-06/0.5932, allocations: 8.281 kB / 0.7569 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-05/0.5933, allocations: 23.94 kB / 0.757 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/0.5933, allocations: 7.938 kB / 0.757 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/0.5933, allocations: 4 kB / 0.757 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/0.5951, allocations: 1.264 MB / 0.7582 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000361/0.5955, allocations: 291.7 kB / 0.7585 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.5956, allocations: 11.98 kB / 0.7585 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008541/0.5965, allocations: 79.88 kB / 0.7586 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.832e-05/0.5966, allocations: 43.94 kB / 0.7586 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.686e-05/0.5967, allocations: 19.98 kB / 0.7586 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001246/0.5979, allocations: 0.913 MB / 0.7595 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5979, allocations: 0 / 0.7595 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001007/0.5989, allocations: 407.4 kB / 0.7599 GB, free: 10.33 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002409/0.6013, allocations: 1.931 MB / 0.7618 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001726/0.6031, allocations: 0.9628 MB / 0.7627 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.6031, allocations: 4 kB / 0.7627 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005692/0.6037, allocations: 348.5 kB / 0.7631 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/0.6056, allocations: 461.5 kB / 0.7635 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/0.6165, allocations: 6.777 MB / 0.7701 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005393/0.6171, allocations: 1.038 MB / 0.7711 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001109/0.6182, allocations: 291 kB / 0.7714 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005834/0.6188, allocations: 391.3 kB / 0.7718 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of SimCode: time 7.32e-07/0.6188, allocations: 0 / 0.7718 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04354/0.6623, allocations: 28.95 MB / 0.8001 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001513/0.6625, allocations: 226.2 kB / 0.8003 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.165/2.828, allocations: 4.062 kB / 0.8003 GB, free: 1.09 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) Environment - environmentSimulation: