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.001164/0.001164, allocations: 105.6 kB / 16.4 MB, free: 6.469 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.001184/0.001184, allocations: 195.8 kB / 17.34 MB, free: 5.75 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7389/0.7389, allocations: 115.3 MB / 406.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 66.06 kB / 0.5577 GB, free: 32.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1483, allocations: 76.18 MB / 0.6321 GB, free: 4.445 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.6047/0.753, allocations: 189.7 MB / 0.8173 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008005/0.761, allocations: 4.287 MB / 0.8215 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001643/0.7627, allocations: 27.19 kB / 0.8215 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001531/0.7643, allocations: 0.5015 MB / 0.822 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004325/0.7686, allocations: 1.567 MB / 0.8235 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003737/0.7724, allocations: 1.347 MB / 0.8248 GB, free: 7.148 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003425/0.7758, allocations: 2.268 MB / 0.827 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001543/0.7774, allocations: 1.085 MB / 0.8281 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001611/0.779, allocations: 0.958 MB / 0.829 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001005/0.78, allocations: 0.8692 MB / 0.8299 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001819/0.7802, allocations: 141.1 kB / 0.83 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002564/0.7828, allocations: 1.24 MB / 0.8312 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004357/0.7832, allocations: 425.2 kB / 0.8316 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006774/0.7839, allocations: 0.6473 MB / 0.8323 GB, free: 2.852 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002812/0.7867, allocations: 1.979 MB / 0.8342 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.7868, allocations: 0 / 0.8342 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.874e-06/0.7868, allocations: 0 / 0.8342 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.854e-05/0.7868, allocations: 0 / 0.8342 GB, free: 1.551 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.004451/0.7913, allocations: 1.712 MB / 0.8359 GB, free: 308 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.381e-05/0.7913, allocations: 10 kB / 0.8359 GB, free: 308 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009611/0.7923, allocations: 186.2 kB / 0.8361 GB, free: 216 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001867/0.7942, allocations: 1.076 MB / 0.8371 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.283e-05/0.7942, allocations: 46.44 kB / 0.8372 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.7944, allocations: 62.09 kB / 0.8372 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.7955, allocations: 0.6135 MB / 0.8378 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.7956, allocations: 0 / 0.8378 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.768e-05/0.7956, allocations: 17.81 kB / 0.8378 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.035e-05/0.7957, allocations: 21.94 kB / 0.8378 GB, free: 15 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.7969, allocations: 0.6276 MB / 0.8385 GB, free: 14.7 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.004032/0.801, allocations: 2.66 MB / 0.8411 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/0.8021, allocations: 0.5379 MB / 0.8416 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006399/0.8028, allocations: 353.6 kB / 0.8419 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003882/0.8032, allocations: 287.4 kB / 0.8422 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.8032, allocations: 41.25 kB / 0.8422 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005845/0.8038, allocations: 133.3 kB / 0.8424 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.214e-06/0.8038, allocations: 4 kB / 0.8424 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43): time 0.002322/0.8061, allocations: 1.028 MB / 0.8434 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.8062, allocations: 54.12 kB / 0.8434 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001847/0.808, allocations: 1.275 MB / 0.8447 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.044e-05/0.8081, allocations: 38.8 kB / 0.8447 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000351/0.8085, allocations: 440.6 kB / 0.8451 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.8086, allocations: 143.2 kB / 0.8453 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002242/0.8088, allocations: 124.9 kB / 0.8454 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.8089, allocations: 316.8 kB / 0.8457 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005654/0.8095, allocations: 271.2 kB / 0.8459 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007795/0.8103, allocations: 497.7 kB / 0.8464 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/0.8115, allocations: 0.5808 MB / 0.847 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.8115, allocations: 0 / 0.847 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001521/0.8131, allocations: 0.7416 MB / 0.8477 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.8131, allocations: 12 kB / 0.8477 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.8131, allocations: 0 / 0.8477 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.8131, allocations: 3.984 kB / 0.8477 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006568/0.8138, allocations: 123.8 kB / 0.8478 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.8138, allocations: 4 kB / 0.8478 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/0.8149, allocations: 91.88 kB / 0.8479 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-05/0.815, allocations: 23.97 kB / 0.848 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008047/0.8158, allocations: 467.4 kB / 0.8484 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007592/0.8166, allocations: 490 kB / 0.8489 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001153/0.8177, allocations: 0.5837 MB / 0.8494 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.353e-06/0.8178, allocations: 0 / 0.8494 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001512/0.8193, allocations: 0.7341 MB / 0.8502 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.8193, allocations: 11.94 kB / 0.8502 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-06/0.8193, allocations: 0 / 0.8502 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.52e-06/0.8193, allocations: 4 kB / 0.8502 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006106/0.8199, allocations: 119.8 kB / 0.8503 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.82, allocations: 1.641 kB / 0.8503 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.8212, allocations: 124.3 kB / 0.8504 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-05/0.8213, allocations: 19.97 kB / 0.8504 GB, free: 5.062 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.000193/0.8215, allocations: 208.2 kB / 0.8506 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001985/0.8217, allocations: 106.7 kB / 0.8507 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00172/0.8234, allocations: 0.8162 MB / 0.8515 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.8234, allocations: 4 kB / 0.8515 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.8234, allocations: 5 kB / 0.8515 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/0.8234, allocations: 3.984 kB / 0.8515 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003093/0.8265, allocations: 1.953 MB / 0.8534 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.8265, allocations: 0 / 0.8534 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000575/0.8271, allocations: 107.9 kB / 0.8535 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.8271, allocations: 4 kB / 0.8535 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.41e-05/0.8272, allocations: 16 kB / 0.8536 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.016e-05/0.8272, allocations: 16.73 kB / 0.8536 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.8272, allocations: 4 kB / 0.8536 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002103/0.8293, allocations: 1.23 MB / 0.8548 GB, free: 476 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004625/0.8298, allocations: 295.7 kB / 0.8551 GB, free: 160 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/0.8299, allocations: 12 kB / 0.8551 GB, free: 148 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009553/0.8309, allocations: 63.84 kB / 0.8551 GB, free: 84 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.831, allocations: 43.97 kB / 0.8552 GB, free: 40 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.456e-05/0.8311, allocations: 27.98 kB / 0.8552 GB, free: 12 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001405/0.8325, allocations: 0.9169 MB / 0.8561 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8325, allocations: 0 / 0.8561 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001149/0.8337, allocations: 407.4 kB / 0.8565 GB, free: 14.69 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.0004817/0.8342, allocations: 211.1 kB / 0.8567 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001998/0.8362, allocations: 0.9358 MB / 0.8576 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.8362, allocations: 4 kB / 0.8576 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006339/0.8368, allocations: 339.7 kB / 0.8579 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/0.8388, allocations: 438.1 kB / 0.8584 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002515/0.8413, allocations: 1.681 MB / 0.86 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005734/0.8419, allocations: 1.045 MB / 0.861 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001045/0.8429, allocations: 295 kB / 0.8613 GB, free: 9.688 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000478/0.8434, allocations: 95.39 kB / 0.8614 GB, free: 9.594 MB / 0.6231 GB Notification: Performance of SimCode: time 1.593e-06/0.8434, allocations: 0 / 0.8614 GB, free: 9.594 MB / 0.6231 GB Notification: Performance of Templates: time 0.03736/0.8808, allocations: 21.87 MB / 0.8827 GB, free: 3.977 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)