Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.00111/0.00111, allocations: 114.6 kB / 16.42 MB, free: 6.465 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.001185/0.001185, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7969/0.7969, allocations: 132.2 MB / 423.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 72.17 kB / 0.582 GB, free: 23.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1488, allocations: 80.21 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.5553/0.7042, allocations: 189.7 MB / 0.8456 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007942/0.7122, allocations: 4.273 MB / 0.8498 GB, free: 140 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001389/0.7136, allocations: 28.91 kB / 0.8498 GB, free: 128 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001843/0.7155, allocations: 0.5146 MB / 0.8503 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004746/0.7203, allocations: 1.625 MB / 0.8519 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003909/0.7242, allocations: 1.356 MB / 0.8532 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004323/0.7285, allocations: 2.276 MB / 0.8554 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00208/0.7306, allocations: 1.089 MB / 0.8565 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002091/0.7327, allocations: 0.9634 MB / 0.8574 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002038/0.7348, allocations: 0.8706 MB / 0.8583 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004947/0.7353, allocations: 142.2 kB / 0.8584 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003039/0.7383, allocations: 1.253 MB / 0.8596 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0007977/0.7391, allocations: 423.9 kB / 0.86 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001285/0.7404, allocations: 0.6458 MB / 0.8607 GB, free: 8.785 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003339/0.7438, allocations: 1.983 MB / 0.8626 GB, free: 6.801 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.7438, allocations: 4 kB / 0.8626 GB, free: 6.797 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.323e-06/0.7438, allocations: 0 / 0.8626 GB, free: 6.797 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.119e-05/0.7439, allocations: 0 / 0.8626 GB, free: 6.797 MB / 0.6231 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.005293/0.7492, allocations: 1.777 MB / 0.8643 GB, free: 4.965 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.7492, allocations: 12.03 kB / 0.8644 GB, free: 4.953 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.7503, allocations: 187.1 kB / 0.8645 GB, free: 4.77 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002217/0.7525, allocations: 1.077 MB / 0.8656 GB, free: 3.637 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.097e-05/0.7526, allocations: 48.94 kB / 0.8656 GB, free: 3.59 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.7527, allocations: 56 kB / 0.8657 GB, free: 3.535 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.754, allocations: 0.6153 MB / 0.8663 GB, free: 2.914 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.754, allocations: 0 / 0.8663 GB, free: 2.914 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.13e-05/0.7541, allocations: 20 kB / 0.8663 GB, free: 2.895 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.008e-05/0.7541, allocations: 17 kB / 0.8663 GB, free: 2.879 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001447/0.7556, allocations: 0.6246 MB / 0.8669 GB, free: 2.254 MB / 0.6231 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.00508/0.7606, allocations: 2.662 MB / 0.8695 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.7619, allocations: 0.5526 MB / 0.8701 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006496/0.7626, allocations: 340.6 kB / 0.8704 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004147/0.763, allocations: 295.2 kB / 0.8707 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.763, allocations: 34.56 kB / 0.8707 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007081/0.7637, allocations: 143.6 kB / 0.8708 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=43): time 4.98e-06/0.7638, allocations: 0 / 0.8708 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of matching and sorting (n=43): time 0.002551/0.7663, allocations: 1.028 MB / 0.8718 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.7664, allocations: 59.39 kB / 0.8719 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002196/0.7686, allocations: 1.275 MB / 0.8731 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.079e-05/0.7686, allocations: 37.7 kB / 0.8732 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003665/0.769, allocations: 438 kB / 0.8736 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/0.7692, allocations: 154.6 kB / 0.8738 GB, free: 11 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002303/0.7694, allocations: 122 kB / 0.8739 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.7696, allocations: 322 kB / 0.8742 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005879/0.7702, allocations: 274.2 kB / 0.8744 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007915/0.771, allocations: 481.1 kB / 0.8749 GB, free: 9.738 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.7722, allocations: 0.5871 MB / 0.8755 GB, free: 9.148 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.7722, allocations: 0 / 0.8755 GB, free: 9.148 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001598/0.7738, allocations: 0.7498 MB / 0.8762 GB, free: 8.391 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.7738, allocations: 7.938 kB / 0.8762 GB, free: 8.383 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.7738, allocations: 0.9375 kB / 0.8762 GB, free: 8.383 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.7738, allocations: 4 kB / 0.8762 GB, free: 8.379 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006679/0.7745, allocations: 123.8 kB / 0.8763 GB, free: 8.258 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.7745, allocations: 0 / 0.8763 GB, free: 8.258 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/0.7758, allocations: 99.8 kB / 0.8764 GB, free: 8.16 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-05/0.7758, allocations: 19.98 kB / 0.8764 GB, free: 8.141 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008181/0.7767, allocations: 475.8 kB / 0.8769 GB, free: 7.672 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007493/0.7774, allocations: 486.2 kB / 0.8774 GB, free: 7.117 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00116/0.7786, allocations: 0.5811 MB / 0.8779 GB, free: 6.531 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.884e-06/0.7786, allocations: 0 / 0.8779 GB, free: 6.531 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001522/0.7801, allocations: 0.7457 MB / 0.8787 GB, free: 5.781 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.7802, allocations: 8 kB / 0.8787 GB, free: 5.773 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.7802, allocations: 0.875 kB / 0.8787 GB, free: 5.773 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.823e-06/0.7802, allocations: 0 / 0.8787 GB, free: 5.773 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006377/0.7808, allocations: 123.8 kB / 0.8788 GB, free: 5.652 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.7808, allocations: 5.562 kB / 0.8788 GB, free: 5.648 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/0.7822, allocations: 124.3 kB / 0.8789 GB, free: 5.527 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.903e-05/0.7822, allocations: 27.97 kB / 0.8789 GB, free: 5.5 MB / 0.6387 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.0001987/0.7824, allocations: 208.1 kB / 0.8791 GB, free: 5.289 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002225/0.7827, allocations: 103.3 kB / 0.8792 GB, free: 5.188 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001738/0.7844, allocations: 0.8109 MB / 0.88 GB, free: 4.367 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.7844, allocations: 5.109 kB / 0.88 GB, free: 4.363 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.7845, allocations: 0 / 0.88 GB, free: 4.363 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004627/0.7849, allocations: 288.2 kB / 0.8803 GB, free: 4.062 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/0.7851, allocations: 12 kB / 0.8803 GB, free: 4.051 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009866/0.7861, allocations: 59.92 kB / 0.8804 GB, free: 3.992 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.7862, allocations: 40.27 kB / 0.8804 GB, free: 3.953 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001687/0.7879, allocations: 0.7573 MB / 0.8811 GB, free: 3.191 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002113/0.79, allocations: 1.271 MB / 0.8824 GB, free: 1.902 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005764/0.7906, allocations: 315.3 kB / 0.8827 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001599/0.7922, allocations: 0.9208 MB / 0.8836 GB, free: 0.6641 MB / 0.6387 GB Notification: Performance of Backend: time 4.71e-07/0.7923, allocations: 3.938 kB / 0.8836 GB, free: 0.6602 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003027/0.7953, allocations: 1.006 MB / 0.8846 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of SimCode: time 0.003766/0.7991, allocations: 2.212 MB / 0.8867 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of Templates: time 0.04065/0.8397, allocations: 25.03 MB / 0.9112 GB, free: 4.605 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)