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.001129/0.001129, allocations: 107.5 kB / 16.41 MB, free: 6.445 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.001086/0.001086, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7771/0.7771, allocations: 122.9 MB / 414.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 58.47 kB / 0.5685 GB, free: 28.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1485, allocations: 77.93 MB / 0.6446 GB, free: 9.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.6901/0.8387, allocations: 189.7 MB / 0.8298 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00919/0.8479, allocations: 4.28 MB / 0.834 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002215/0.8502, allocations: 33.72 kB / 0.834 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002085/0.8524, allocations: 0.4966 MB / 0.8345 GB, free: 2.512 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005182/0.8576, allocations: 1.561 MB / 0.836 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004272/0.8619, allocations: 1.354 MB / 0.8374 GB, free: 308 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004118/0.866, allocations: 2.27 MB / 0.8396 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002144/0.8682, allocations: 1.077 MB / 0.8406 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00251/0.8707, allocations: 0.9544 MB / 0.8416 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001827/0.8725, allocations: 0.8711 MB / 0.8424 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0005582/0.8731, allocations: 137.7 kB / 0.8425 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003499/0.8766, allocations: 1.245 MB / 0.8438 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0009119/0.8776, allocations: 427.7 kB / 0.8442 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00166/0.8792, allocations: 0.6467 MB / 0.8448 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004299/0.8835, allocations: 1.976 MB / 0.8467 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.8836, allocations: 0 / 0.8467 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.142e-06/0.8836, allocations: 0 / 0.8467 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.541e-05/0.8837, allocations: 0 / 0.8467 GB, free: 10.28 MB / 0.6075 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.005998/0.8897, allocations: 1.764 MB / 0.8484 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.8897, allocations: 14.38 kB / 0.8485 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/0.891, allocations: 194.9 kB / 0.8486 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00257/0.8936, allocations: 1.068 MB / 0.8497 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.227e-05/0.8937, allocations: 47.5 kB / 0.8497 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001714/0.8939, allocations: 64.09 kB / 0.8498 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.8953, allocations: 0.6105 MB / 0.8504 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.8953, allocations: 3.938 kB / 0.8504 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.723e-05/0.8954, allocations: 24.28 kB / 0.8504 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.84e-05/0.8954, allocations: 19.16 kB / 0.8504 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.8968, allocations: 0.6244 MB / 0.851 GB, free: 7.332 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.004215/0.901, allocations: 2.662 MB / 0.8536 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.9021, allocations: 0.5451 MB / 0.8542 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006011/0.9027, allocations: 348.6 kB / 0.8545 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003804/0.9031, allocations: 291.3 kB / 0.8548 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.9032, allocations: 38.5 kB / 0.8548 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006684/0.9038, allocations: 139.7 kB / 0.855 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.695e-06/0.9038, allocations: 0 / 0.855 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43): time 0.002332/0.9062, allocations: 1.024 MB / 0.856 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.9062, allocations: 55.41 kB / 0.856 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001853/0.9081, allocations: 1.279 MB / 0.8573 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.884e-05/0.9082, allocations: 37.7 kB / 0.8573 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003229/0.9085, allocations: 441.9 kB / 0.8577 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.9086, allocations: 154.6 kB / 0.8579 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002063/0.9088, allocations: 118 kB / 0.858 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.909, allocations: 318 kB / 0.8583 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005497/0.9095, allocations: 274.2 kB / 0.8585 GB, free: 252 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007614/0.9103, allocations: 486.1 kB / 0.859 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.9115, allocations: 0.5869 MB / 0.8596 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.9115, allocations: 0 / 0.8596 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001489/0.913, allocations: 0.75 MB / 0.8603 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.913, allocations: 4 kB / 0.8603 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.913, allocations: 4 kB / 0.8603 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.913, allocations: 3.984 kB / 0.8603 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000636/0.9137, allocations: 119.8 kB / 0.8604 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.9137, allocations: 4 kB / 0.8604 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.9149, allocations: 95.86 kB / 0.8605 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.918e-05/0.915, allocations: 29.22 kB / 0.8606 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008591/0.9159, allocations: 467.9 kB / 0.861 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007556/0.9167, allocations: 481.9 kB / 0.8615 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001121/0.9178, allocations: 0.587 MB / 0.862 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.967e-06/0.9178, allocations: 9.797 kB / 0.862 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001458/0.9193, allocations: 0.735 MB / 0.8628 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.9193, allocations: 7.938 kB / 0.8628 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-06/0.9193, allocations: 0 / 0.8628 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.36e-06/0.9193, allocations: 4 kB / 0.8628 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005931/0.9199, allocations: 119.8 kB / 0.8629 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.9199, allocations: 11.94 kB / 0.8629 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/0.9212, allocations: 120.3 kB / 0.863 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-05/0.9213, allocations: 27.97 kB / 0.863 GB, free: 11.45 MB / 0.6231 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.0001948/0.9215, allocations: 200.2 kB / 0.8632 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002016/0.9217, allocations: 115.2 kB / 0.8633 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001738/0.9235, allocations: 0.8013 MB / 0.8641 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.9235, allocations: 4 kB / 0.8641 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.9235, allocations: 0.625 kB / 0.8641 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.9235, allocations: 3.984 kB / 0.8641 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003185/0.9267, allocations: 1.953 MB / 0.866 GB, free: 8.293 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.9267, allocations: 4 kB / 0.866 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005593/0.9273, allocations: 112.4 kB / 0.8662 GB, free: 8.18 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-06/0.9273, allocations: 8.281 kB / 0.8662 GB, free: 8.172 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.8e-05/0.9274, allocations: 12 kB / 0.8662 GB, free: 8.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.316e-06/0.9274, allocations: 11.94 kB / 0.8662 GB, free: 8.148 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/0.9274, allocations: 0.5625 kB / 0.8662 GB, free: 8.148 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002131/0.9295, allocations: 1.233 MB / 0.8674 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004866/0.93, allocations: 300.2 kB / 0.8677 GB, free: 6.562 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002004/0.9302, allocations: 16 kB / 0.8677 GB, free: 6.547 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.9312, allocations: 64.78 kB / 0.8678 GB, free: 6.484 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.9314, allocations: 47.84 kB / 0.8678 GB, free: 6.438 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.266e-05/0.9314, allocations: 16 kB / 0.8678 GB, free: 6.422 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001539/0.933, allocations: 0.9247 MB / 0.8687 GB, free: 5.488 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.91e-07/0.933, allocations: 0 / 0.8687 GB, free: 5.488 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001545/0.9345, allocations: 415.4 kB / 0.8691 GB, free: 5.082 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.0007763/0.9353, allocations: 228.7 kB / 0.8693 GB, free: 4.859 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002337/0.9377, allocations: 0.9361 MB / 0.8702 GB, free: 3.922 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.9377, allocations: 0 / 0.8702 GB, free: 3.922 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006412/0.9383, allocations: 339.5 kB / 0.8706 GB, free: 3.59 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002128/0.9405, allocations: 431.7 kB / 0.871 GB, free: 3.172 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002914/0.9434, allocations: 1.721 MB / 0.8727 GB, free: 1.383 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007289/0.9441, allocations: 1.041 MB / 0.8737 GB, free: 316 kB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001171/0.9453, allocations: 283.1 kB / 0.8739 GB, free: 28 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004096/0.9457, allocations: 99.38 kB / 0.874 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of SimCode: time 1.083e-06/0.9457, allocations: 0 / 0.874 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of Templates: time 0.03628/0.982, allocations: 21.4 MB / 0.8949 GB, free: 10.76 MB / 0.6544 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)