Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001748/0.001748, allocations: 105.8 kB / 16.41 MB, free: 6.488 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.001987/0.001987, allocations: 191.8 kB / 17.34 MB, free: 5.762 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8101/0.8101, allocations: 135.2 MB / 426.4 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 69 kB / 0.5863 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.138, allocations: 80.93 MB / 0.6653 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.5018/0.6398, allocations: 189.7 MB / 0.8506 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.007191/0.6471, allocations: 4.273 MB / 0.8548 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008629/0.648, allocations: 29.69 kB / 0.8548 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001284/0.6493, allocations: 0.5297 MB / 0.8553 GB, free: 9.855 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003491/0.6528, allocations: 1.623 MB / 0.8569 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003125/0.6559, allocations: 1.351 MB / 0.8582 GB, free: 7.613 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002654/0.6586, allocations: 2.277 MB / 0.8604 GB, free: 6.273 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001335/0.6599, allocations: 1.08 MB / 0.8615 GB, free: 5.551 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001329/0.6613, allocations: 0.967 MB / 0.8624 GB, free: 4.98 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001003/0.6623, allocations: 0.8738 MB / 0.8633 GB, free: 4.402 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001869/0.6625, allocations: 143.1 kB / 0.8634 GB, free: 4.352 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002241/0.6647, allocations: 1.247 MB / 0.8646 GB, free: 3.102 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004442/0.6652, allocations: 426.7 kB / 0.865 GB, free: 2.684 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000688/0.6659, allocations: 0.6454 MB / 0.8657 GB, free: 2.035 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002499/0.6684, allocations: 1.989 MB / 0.8676 GB, free: 40 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.6684, allocations: 0 / 0.8676 GB, free: 40 kB / 0.6231 GB Notification: Performance of FrontEnd: time 1.814e-06/0.6684, allocations: 4 kB / 0.8676 GB, free: 36 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.492e-05/0.6685, allocations: 0 / 0.8676 GB, free: 36 kB / 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.004105/0.6726, allocations: 1.766 MB / 0.8693 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.6726, allocations: 17.05 kB / 0.8694 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008296/0.6734, allocations: 190.5 kB / 0.8695 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001894/0.6754, allocations: 1.077 MB / 0.8706 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.677e-05/0.6754, allocations: 48.94 kB / 0.8706 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.6755, allocations: 56 kB / 0.8707 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.6768, allocations: 0.6154 MB / 0.8713 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.6768, allocations: 4 kB / 0.8713 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.799e-05/0.6769, allocations: 16 kB / 0.8713 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.718e-05/0.6769, allocations: 17 kB / 0.8713 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.6783, allocations: 0.6246 MB / 0.8719 GB, free: 11.49 MB / 0.6387 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.004252/0.6825, allocations: 2.666 MB / 0.8745 GB, free: 8.684 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.6837, allocations: 0.5387 MB / 0.8751 GB, free: 8.137 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006842/0.6844, allocations: 348.6 kB / 0.8754 GB, free: 7.793 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004121/0.6849, allocations: 287.3 kB / 0.8757 GB, free: 7.457 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.6849, allocations: 42.55 kB / 0.8757 GB, free: 7.406 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006282/0.6855, allocations: 143.6 kB / 0.8759 GB, free: 7.266 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=43): time 2.675e-06/0.6855, allocations: 3.938 kB / 0.8759 GB, free: 7.262 MB / 0.6387 GB Notification: Performance of matching and sorting (n=43): time 0.002423/0.688, allocations: 1.036 MB / 0.8769 GB, free: 6.219 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.688, allocations: 55.41 kB / 0.8769 GB, free: 6.152 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002085/0.6901, allocations: 1.267 MB / 0.8782 GB, free: 4.867 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.689e-05/0.6902, allocations: 41.7 kB / 0.8782 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004013/0.6906, allocations: 430 kB / 0.8786 GB, free: 4.395 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.6908, allocations: 154.6 kB / 0.8788 GB, free: 4.242 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002464/0.691, allocations: 130 kB / 0.8789 GB, free: 4.109 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.6912, allocations: 318 kB / 0.8792 GB, free: 3.793 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006111/0.6918, allocations: 270.2 kB / 0.8794 GB, free: 3.527 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008521/0.6927, allocations: 493 kB / 0.8799 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.694, allocations: 0.5791 MB / 0.8805 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.694, allocations: 7.938 kB / 0.8805 GB, free: 2.379 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001634/0.6956, allocations: 0.7423 MB / 0.8812 GB, free: 1.629 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.6956, allocations: 4 kB / 0.8812 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.6956, allocations: 3.938 kB / 0.8812 GB, free: 1.621 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.6957, allocations: 4 kB / 0.8812 GB, free: 1.617 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006607/0.6963, allocations: 123.8 kB / 0.8813 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.108e-06/0.6964, allocations: 4 kB / 0.8813 GB, free: 1.492 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/0.6975, allocations: 96.47 kB / 0.8814 GB, free: 1.398 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.612e-05/0.6975, allocations: 23.97 kB / 0.8815 GB, free: 1.375 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008597/0.6984, allocations: 465.5 kB / 0.8819 GB, free: 0.918 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008095/0.6992, allocations: 0.4901 MB / 0.8824 GB, free: 356 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001221/0.7005, allocations: 0.5734 MB / 0.8829 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/0.7005, allocations: 0 / 0.8829 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001621/0.7021, allocations: 0.7421 MB / 0.8837 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.849e-06/0.7021, allocations: 4 kB / 0.8837 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-06/0.7021, allocations: 0 / 0.8837 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.406e-06/0.7021, allocations: 8 kB / 0.8837 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006352/0.7028, allocations: 124.9 kB / 0.8838 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.7028, allocations: 0 / 0.8838 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.704, allocations: 128.2 kB / 0.8839 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.432e-05/0.7041, allocations: 21.53 kB / 0.8839 GB, free: 14.75 MB / 0.6544 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.0002261/0.7043, allocations: 212.1 kB / 0.8841 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002056/0.7045, allocations: 107.3 kB / 0.8842 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00186/0.7064, allocations: 0.8108 MB / 0.885 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/0.7064, allocations: 12 kB / 0.8851 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.7064, allocations: 0 / 0.8851 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.7064, allocations: 0 / 0.8851 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003298/0.7097, allocations: 1.953 MB / 0.887 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.7098, allocations: 1.156 kB / 0.887 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005871/0.7104, allocations: 111.9 kB / 0.8871 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.7104, allocations: 7.938 kB / 0.8871 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.692e-05/0.7104, allocations: 19.94 kB / 0.8871 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.7104, allocations: 4 kB / 0.8871 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.7104, allocations: 4 kB / 0.8871 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002244/0.7127, allocations: 1.249 MB / 0.8883 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004625/0.7132, allocations: 300.2 kB / 0.8886 GB, free: 9.812 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001633/0.7133, allocations: 15.94 kB / 0.8886 GB, free: 9.797 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009257/0.7143, allocations: 59.98 kB / 0.8887 GB, free: 9.738 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.7144, allocations: 43.88 kB / 0.8887 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.381e-05/0.7144, allocations: 24 kB / 0.8887 GB, free: 9.672 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001509/0.716, allocations: 0.9208 MB / 0.8896 GB, free: 8.742 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.91e-07/0.716, allocations: 0 / 0.8896 GB, free: 8.742 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001087/0.7171, allocations: 403.5 kB / 0.89 GB, free: 8.348 MB / 0.6544 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.0004852/0.7176, allocations: 211.2 kB / 0.8902 GB, free: 8.141 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002055/0.7196, allocations: 0.9476 MB / 0.8912 GB, free: 7.191 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.7196, allocations: 4 kB / 0.8912 GB, free: 7.188 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006735/0.7203, allocations: 336.2 kB / 0.8915 GB, free: 6.859 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001895/0.7222, allocations: 433.5 kB / 0.8919 GB, free: 6.441 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002652/0.7249, allocations: 1.7 MB / 0.8936 GB, free: 4.676 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007194/0.7256, allocations: 1.041 MB / 0.8946 GB, free: 3.602 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009363/0.7266, allocations: 295 kB / 0.8949 GB, free: 3.309 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003464/0.7269, allocations: 99.38 kB / 0.8949 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of SimCode: time 4.2e-07/0.7269, allocations: 0 / 0.8949 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of Templates: time 0.03655/0.7635, allocations: 21.46 MB / 0.9159 GB, free: 13.97 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)