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: "" <> buildModelFMU(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006913/0.006913, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001779/0.001779, allocations: 193.7 kB / 16.67 MB, free: 5.969 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.381/1.381, allocations: 222.9 MB / 240.4 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.8209/0.8209, allocations: 135.6 MB / 426.1 MB, free: 3.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001802/0.001802, allocations: 75.09 kB / 0.5857 GB, free: 21.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1426, allocations: 81.03 MB / 0.6649 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.5313/0.6739, allocations: 189.7 MB / 0.8501 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.006977/0.6809, allocations: 4.279 MB / 0.8543 GB, free: 9.883 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007603/0.6817, allocations: 26.84 kB / 0.8543 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.6829, allocations: 0.4959 MB / 0.8548 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003277/0.6862, allocations: 1.566 MB / 0.8563 GB, free: 8.223 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003041/0.6893, allocations: 1.341 MB / 0.8576 GB, free: 7.246 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002437/0.6917, allocations: 2.269 MB / 0.8598 GB, free: 5.914 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001278/0.693, allocations: 1.088 MB / 0.8609 GB, free: 5.191 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001233/0.6943, allocations: 0.954 MB / 0.8618 GB, free: 4.629 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001052/0.6953, allocations: 0.8642 MB / 0.8627 GB, free: 3.988 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002364/0.6956, allocations: 140 kB / 0.8628 GB, free: 3.852 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002255/0.6978, allocations: 1.247 MB / 0.864 GB, free: 2.602 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004445/0.6983, allocations: 430.7 kB / 0.8644 GB, free: 2.18 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006908/0.699, allocations: 0.6375 MB / 0.8651 GB, free: 1.539 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002606/0.7016, allocations: 1.995 MB / 0.867 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.7016, allocations: 3.938 kB / 0.867 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.283e-06/0.7016, allocations: 0 / 0.867 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.416e-05/0.7016, allocations: 0 / 0.867 GB, free: 15.54 MB / 0.6387 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.004157/0.7058, allocations: 1.766 MB / 0.8687 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.7059, allocations: 9.109 kB / 0.8687 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001143/0.706, allocations: 86.52 kB / 0.8688 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000811/0.7068, allocations: 195.1 kB / 0.869 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001859/0.7087, allocations: 1.081 MB / 0.8701 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.012e-05/0.7087, allocations: 41 kB / 0.8701 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.7088, allocations: 68 kB / 0.8702 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.7101, allocations: 0.6114 MB / 0.8708 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.7101, allocations: 0 / 0.8708 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.837e-05/0.7102, allocations: 16 kB / 0.8708 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.76e-05/0.7102, allocations: 21 kB / 0.8708 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001429/0.7116, allocations: 0.6246 MB / 0.8714 GB, free: 10.9 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.004226/0.7159, allocations: 2.668 MB / 0.874 GB, free: 8.09 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/0.7171, allocations: 0.5411 MB / 0.8746 GB, free: 7.539 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006845/0.7178, allocations: 352.6 kB / 0.8749 GB, free: 7.191 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004167/0.7182, allocations: 291.3 kB / 0.8752 GB, free: 6.852 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.7182, allocations: 38.56 kB / 0.8752 GB, free: 6.805 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005913/0.7188, allocations: 143.6 kB / 0.8753 GB, free: 6.664 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=43): time 2.254e-06/0.7188, allocations: 0 / 0.8753 GB, free: 6.664 MB / 0.6387 GB Notification: Performance of matching and sorting (n=43): time 0.002414/0.7213, allocations: 1.024 MB / 0.8763 GB, free: 5.633 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.7213, allocations: 55.41 kB / 0.8764 GB, free: 5.566 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001992/0.7233, allocations: 1.275 MB / 0.8776 GB, free: 4.273 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.505e-05/0.7234, allocations: 37.7 kB / 0.8777 GB, free: 4.23 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003921/0.7238, allocations: 438 kB / 0.8781 GB, free: 3.797 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.724, allocations: 162.6 kB / 0.8782 GB, free: 3.637 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002222/0.7242, allocations: 114 kB / 0.8784 GB, free: 3.52 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.7243, allocations: 322 kB / 0.8787 GB, free: 3.199 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006152/0.725, allocations: 278.2 kB / 0.8789 GB, free: 2.926 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008454/0.7258, allocations: 489 kB / 0.8794 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/0.7271, allocations: 0.5907 MB / 0.88 GB, free: 1.777 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7271, allocations: 0 / 0.88 GB, free: 1.777 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001575/0.7287, allocations: 0.7423 MB / 0.8807 GB, free: 1.027 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.7287, allocations: 8 kB / 0.8807 GB, free: 1.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.7287, allocations: 0 / 0.8807 GB, free: 1.02 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.7287, allocations: 0 / 0.8807 GB, free: 1.02 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006795/0.7294, allocations: 115.8 kB / 0.8808 GB, free: 0.9062 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.7295, allocations: 11.92 kB / 0.8808 GB, free: 0.8945 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.7306, allocations: 91.88 kB / 0.8809 GB, free: 0.8047 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.958e-05/0.7307, allocations: 27.91 kB / 0.8809 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008615/0.7315, allocations: 467.9 kB / 0.8814 GB, free: 324 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008334/0.7324, allocations: 490.9 kB / 0.8819 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001236/0.7336, allocations: 0.585 MB / 0.8824 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.324e-06/0.7336, allocations: 2.969 kB / 0.8824 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001586/0.7352, allocations: 0.7388 MB / 0.8831 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.888e-06/0.7352, allocations: 4 kB / 0.8832 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.7352, allocations: 0 / 0.8832 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.7353, allocations: 8.938 kB / 0.8832 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006189/0.7359, allocations: 115.8 kB / 0.8833 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.7359, allocations: 4 kB / 0.8833 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.7372, allocations: 128.3 kB / 0.8834 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.951e-05/0.7372, allocations: 15.98 kB / 0.8834 GB, free: 14.15 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.0002316/0.7375, allocations: 216.1 kB / 0.8836 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/0.7377, allocations: 107.3 kB / 0.8837 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001795/0.7395, allocations: 0.8004 MB / 0.8845 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.7395, allocations: 4 kB / 0.8845 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.7395, allocations: 4 kB / 0.8845 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.7395, allocations: 4.859 kB / 0.8845 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003198/0.7427, allocations: 1.957 MB / 0.8864 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.7427, allocations: 0 / 0.8864 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005727/0.7433, allocations: 107.9 kB / 0.8865 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.044e-05/0.7433, allocations: 7.938 kB / 0.8865 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.707e-05/0.7434, allocations: 19.98 kB / 0.8866 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.7434, allocations: 8.281 kB / 0.8866 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.7434, allocations: 11.94 kB / 0.8866 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002241/0.7457, allocations: 1.237 MB / 0.8878 GB, free: 9.535 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004289/0.7461, allocations: 292.3 kB / 0.8881 GB, free: 9.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001469/0.7463, allocations: 19.94 kB / 0.8881 GB, free: 9.211 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009486/0.7472, allocations: 63.97 kB / 0.8881 GB, free: 9.148 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.7473, allocations: 39.89 kB / 0.8882 GB, free: 9.109 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.727e-05/0.7474, allocations: 23.98 kB / 0.8882 GB, free: 9.086 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001486/0.7489, allocations: 0.9169 MB / 0.8891 GB, free: 8.16 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.9e-07/0.7489, allocations: 4 kB / 0.8891 GB, free: 8.156 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00108/0.75, allocations: 407.5 kB / 0.8895 GB, free: 7.758 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.002907/0.7529, allocations: 1.91 MB / 0.8914 GB, free: 5.801 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002121/0.755, allocations: 0.9458 MB / 0.8923 GB, free: 4.859 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.755, allocations: 0 / 0.8923 GB, free: 4.859 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006798/0.7557, allocations: 335.6 kB / 0.8926 GB, free: 4.531 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002017/0.7578, allocations: 427.5 kB / 0.893 GB, free: 4.117 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01393/0.7717, allocations: 8.52 MB / 0.9013 GB, free: 11.41 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000726/0.7725, allocations: 1.037 MB / 0.9023 GB, free: 10.34 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001085/0.7736, allocations: 295 kB / 0.9026 GB, free: 10.04 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006753/0.7742, allocations: 391.3 kB / 0.903 GB, free: 9.66 MB / 0.67 GB Notification: Performance of SimCode: time 5.01e-07/0.7743, allocations: 0 / 0.903 GB, free: 9.66 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8722/1.646, allocations: 30.16 MB / 0.9325 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.12/11.77, allocations: 11.7 kB / 0.9325 GB, free: 11.81 MB / 0.7012 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)