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.001478/0.001479, allocations: 118.4 kB / 17.08 MB, free: 5.984 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.001853/0.001853, allocations: 189.9 kB / 18.02 MB, free: 5.074 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.372/1.372, allocations: 222.9 MB / 241.7 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.7407/0.7407, allocations: 115.3 MB / 407.2 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.00126, allocations: 63.94 kB / 0.5583 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1662, allocations: 76.18 MB / 0.6327 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.6801/0.8463, allocations: 189.7 MB / 0.8179 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008895/0.8553, allocations: 4.282 MB / 0.8221 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002093/0.8574, allocations: 27.56 kB / 0.8222 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002032/0.8594, allocations: 0.4976 MB / 0.8226 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005177/0.8647, allocations: 1.563 MB / 0.8242 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004434/0.8692, allocations: 1.345 MB / 0.8255 GB, free: 7.137 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00444/0.8736, allocations: 2.276 MB / 0.8277 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002302/0.8759, allocations: 1.079 MB / 0.8288 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002719/0.8787, allocations: 0.9567 MB / 0.8297 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002168/0.8808, allocations: 0.8734 MB / 0.8305 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007224/0.8816, allocations: 137.5 kB / 0.8307 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003666/0.8853, allocations: 1.243 MB / 0.8319 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009502/0.8862, allocations: 425.8 kB / 0.8323 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001723/0.888, allocations: 0.649 MB / 0.8329 GB, free: 2.832 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004385/0.8924, allocations: 1.967 MB / 0.8348 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.8924, allocations: 3.938 kB / 0.8349 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8924, allocations: 2.344 kB / 0.8349 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.125e-05/0.8925, allocations: 0 / 0.8349 GB, free: 1.539 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.006042/0.8985, allocations: 1.714 MB / 0.8365 GB, free: 292 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.8986, allocations: 10 kB / 0.8365 GB, free: 292 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/0.8998, allocations: 190.8 kB / 0.8367 GB, free: 196 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002428/0.9022, allocations: 1.073 MB / 0.8378 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.622e-05/0.9023, allocations: 42.31 kB / 0.8378 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.9024, allocations: 64.19 kB / 0.8379 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.9038, allocations: 0.6163 MB / 0.8385 GB, free: 15 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.9038, allocations: 0 / 0.8385 GB, free: 15 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.902e-05/0.9039, allocations: 18.75 kB / 0.8385 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.602e-05/0.9039, allocations: 22.42 kB / 0.8385 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001343/0.9053, allocations: 0.6256 MB / 0.8391 GB, free: 14.69 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.004395/0.9097, allocations: 2.662 MB / 0.8417 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/0.9108, allocations: 0.5396 MB / 0.8422 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006284/0.9114, allocations: 354 kB / 0.8426 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004402/0.9119, allocations: 285.6 kB / 0.8429 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.9119, allocations: 44.75 kB / 0.8429 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007355/0.9127, allocations: 136.6 kB / 0.843 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.304e-06/0.9127, allocations: 2.75 kB / 0.843 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43): time 0.002333/0.915, allocations: 1.019 MB / 0.844 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.9151, allocations: 57.5 kB / 0.8441 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002099/0.9172, allocations: 1.273 MB / 0.8453 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.517e-05/0.9173, allocations: 45.23 kB / 0.8454 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004635/0.9177, allocations: 436.9 kB / 0.8458 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/0.9179, allocations: 146.4 kB / 0.8459 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002122/0.9181, allocations: 114.9 kB / 0.846 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.9183, allocations: 327 kB / 0.8463 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005663/0.9188, allocations: 275 kB / 0.8466 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000775/0.9196, allocations: 487.9 kB / 0.8471 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/0.9208, allocations: 0.5883 MB / 0.8476 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.9208, allocations: 0 / 0.8476 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001784/0.9226, allocations: 0.7378 MB / 0.8484 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.9226, allocations: 4 kB / 0.8484 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.9226, allocations: 0 / 0.8484 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.9227, allocations: 4 kB / 0.8484 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006697/0.9233, allocations: 123.8 kB / 0.8485 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.597e-06/0.9234, allocations: 3.938 kB / 0.8485 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/0.9247, allocations: 87.89 kB / 0.8486 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-05/0.9247, allocations: 23.97 kB / 0.8486 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001011/0.9258, allocations: 475.4 kB / 0.8491 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008867/0.9267, allocations: 481.9 kB / 0.8495 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001161/0.9278, allocations: 0.5876 MB / 0.8501 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.794e-06/0.9278, allocations: 0 / 0.8501 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001734/0.9296, allocations: 0.7375 MB / 0.8508 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.9296, allocations: 11.94 kB / 0.8508 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.9296, allocations: 0 / 0.8508 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.45e-06/0.9296, allocations: 0 / 0.8508 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006331/0.9303, allocations: 123.8 kB / 0.8509 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.9303, allocations: 4 kB / 0.8509 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.9318, allocations: 125.9 kB / 0.8511 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.736e-05/0.9318, allocations: 23.98 kB / 0.8511 GB, free: 4.996 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.0002429/0.9321, allocations: 208.2 kB / 0.8513 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003243/0.9324, allocations: 106.7 kB / 0.8514 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001887/0.9343, allocations: 0.8089 MB / 0.8522 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.9343, allocations: 4 kB / 0.8522 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.9343, allocations: 3.938 kB / 0.8522 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.9343, allocations: 3.984 kB / 0.8522 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003632/0.938, allocations: 1.951 MB / 0.8541 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/0.938, allocations: 8.922 kB / 0.8541 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006159/0.9386, allocations: 99.88 kB / 0.8542 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.688e-06/0.9387, allocations: 8 kB / 0.8542 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.114e-05/0.9387, allocations: 15.98 kB / 0.8542 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.877e-06/0.9387, allocations: 7.938 kB / 0.8542 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.9387, allocations: 8.219 kB / 0.8542 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002416/0.9412, allocations: 1.234 MB / 0.8554 GB, free: 416 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005601/0.9417, allocations: 284.5 kB / 0.8557 GB, free: 112 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002636/0.942, allocations: 12 kB / 0.8557 GB, free: 100 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.9431, allocations: 67.84 kB / 0.8558 GB, free: 32 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.9433, allocations: 44.62 kB / 0.8558 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.631e-05/0.9433, allocations: 15.98 kB / 0.8558 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001767/0.9451, allocations: 0.9208 MB / 0.8567 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9451, allocations: 0 / 0.8567 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001613/0.9467, allocations: 407.4 kB / 0.8571 GB, free: 14.64 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.0005729/0.9473, allocations: 228.9 kB / 0.8574 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002137/0.9495, allocations: 0.9319 MB / 0.8583 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.9495, allocations: 0 / 0.8583 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00067/0.9502, allocations: 347.5 kB / 0.8586 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002151/0.9523, allocations: 434.1 kB / 0.859 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003119/0.9555, allocations: 1.735 MB / 0.8607 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00074/0.9562, allocations: 1.041 MB / 0.8617 GB, free: 9.855 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004043/0.9566, allocations: 107.4 kB / 0.8618 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.9566, allocations: 0 / 0.8618 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of Templates: time 0.02717/0.9838, allocations: 16.34 MB / 0.8778 GB, free: 9.547 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)