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.009194/0.009194, allocations: 103.1 kB / 15.73 MB, free: 6.004 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.001526/0.001527, allocations: 193.8 kB / 16.68 MB, free: 5.93 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8306/0.8306, allocations: 135.1 MB / 425.7 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 78.53 kB / 0.5851 GB, free: 21.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1513, allocations: 80.92 MB / 0.6641 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.608/0.7594, allocations: 189.7 MB / 0.8494 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009337/0.7687, allocations: 4.274 MB / 0.8536 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001247/0.77, allocations: 29.19 kB / 0.8536 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001703/0.7718, allocations: 0.4962 MB / 0.8541 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006468/0.7783, allocations: 1.572 MB / 0.8556 GB, free: 9.074 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005306/0.7836, allocations: 1.347 MB / 0.8569 GB, free: 8.094 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004339/0.788, allocations: 2.263 MB / 0.8591 GB, free: 6.766 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002271/0.7903, allocations: 1.083 MB / 0.8602 GB, free: 6.043 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002487/0.7928, allocations: 0.9603 MB / 0.8611 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001822/0.7946, allocations: 0.8707 MB / 0.862 GB, free: 4.902 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004452/0.7951, allocations: 142.1 kB / 0.8621 GB, free: 4.801 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002709/0.7978, allocations: 1.247 MB / 0.8633 GB, free: 3.551 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006728/0.7985, allocations: 422.7 kB / 0.8637 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001368/0.7999, allocations: 0.6453 MB / 0.8644 GB, free: 2.488 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0042/0.8041, allocations: 1.986 MB / 0.8663 GB, free: 0.4961 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.8041, allocations: 0 / 0.8663 GB, free: 0.4961 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.527e-06/0.8042, allocations: 0 / 0.8663 GB, free: 0.4961 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.202e-05/0.8042, allocations: 3.938 kB / 0.8663 GB, free: 0.4922 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.00621/0.8104, allocations: 1.724 MB / 0.868 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.8105, allocations: 9.109 kB / 0.868 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001724/0.8107, allocations: 86.52 kB / 0.8681 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001376/0.8121, allocations: 190.4 kB / 0.8683 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00277/0.8148, allocations: 1.072 MB / 0.8693 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.993e-05/0.8149, allocations: 45 kB / 0.8694 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/0.8151, allocations: 56 kB / 0.8694 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/0.8168, allocations: 0.6153 MB / 0.87 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.8168, allocations: 0 / 0.87 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.126e-05/0.8169, allocations: 20 kB / 0.87 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-05/0.817, allocations: 17 kB / 0.8701 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0019/0.8189, allocations: 0.6207 MB / 0.8707 GB, free: 11.91 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.005919/0.8248, allocations: 2.661 MB / 0.8733 GB, free: 9.109 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/0.8264, allocations: 0.5373 MB / 0.8738 GB, free: 8.562 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009126/0.8274, allocations: 352.2 kB / 0.8741 GB, free: 8.219 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005013/0.8279, allocations: 291.3 kB / 0.8744 GB, free: 7.879 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.843e-05/0.8279, allocations: 38.56 kB / 0.8744 GB, free: 7.832 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009575/0.8289, allocations: 147.4 kB / 0.8746 GB, free: 7.688 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=43): time 5.18e-06/0.8289, allocations: 0 / 0.8746 GB, free: 7.688 MB / 0.6387 GB Notification: Performance of matching and sorting (n=43): time 0.003476/0.8324, allocations: 1.012 MB / 0.8756 GB, free: 6.668 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.8325, allocations: 67.34 kB / 0.8756 GB, free: 6.59 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003055/0.8355, allocations: 1.267 MB / 0.8769 GB, free: 5.305 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001053/0.8357, allocations: 45.64 kB / 0.8769 GB, free: 5.254 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004681/0.8361, allocations: 429.7 kB / 0.8773 GB, free: 4.828 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000178/0.8363, allocations: 153.7 kB / 0.8775 GB, free: 4.676 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002949/0.8366, allocations: 118 kB / 0.8776 GB, free: 4.555 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.8368, allocations: 322 kB / 0.8779 GB, free: 4.234 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009386/0.8377, allocations: 274.2 kB / 0.8781 GB, free: 3.965 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/0.8389, allocations: 489.1 kB / 0.8786 GB, free: 3.41 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001711/0.8406, allocations: 0.5868 MB / 0.8792 GB, free: 2.82 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.8406, allocations: 0 / 0.8792 GB, free: 2.82 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00251/0.8432, allocations: 0.736 MB / 0.8799 GB, free: 2.078 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.8432, allocations: 8 kB / 0.8799 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.8432, allocations: 0 / 0.8799 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.8432, allocations: 3.938 kB / 0.8799 GB, free: 2.066 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000901/0.8442, allocations: 123.8 kB / 0.88 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.8442, allocations: 4 kB / 0.88 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/0.846, allocations: 95.86 kB / 0.8801 GB, free: 1.848 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.802e-05/0.8462, allocations: 23.97 kB / 0.8801 GB, free: 1.824 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001347/0.8475, allocations: 463.9 kB / 0.8806 GB, free: 1.367 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001071/0.8486, allocations: 498.8 kB / 0.8811 GB, free: 0.8008 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001634/0.8502, allocations: 0.5837 MB / 0.8816 GB, free: 216 kB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.036e-06/0.8503, allocations: 0 / 0.8816 GB, free: 216 kB / 0.6387 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.002471/0.8527, allocations: 0.7305 MB / 0.8823 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.8528, allocations: 4 kB / 0.8824 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.8528, allocations: 0 / 0.8824 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.267e-06/0.8528, allocations: 4 kB / 0.8824 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009594/0.8538, allocations: 127.8 kB / 0.8825 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.8538, allocations: 2.812 kB / 0.8825 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001971/0.8558, allocations: 132.2 kB / 0.8826 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.8559, allocations: 15.98 kB / 0.8826 GB, free: 15.2 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.0003065/0.8562, allocations: 212.1 kB / 0.8828 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005252/0.8567, allocations: 102.7 kB / 0.8829 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002618/0.8594, allocations: 0.8046 MB / 0.8837 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.8594, allocations: 7.938 kB / 0.8837 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.8594, allocations: 4 kB / 0.8837 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.8594, allocations: 8.609 kB / 0.8837 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004578/0.864, allocations: 1.938 MB / 0.8856 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.864, allocations: 3.938 kB / 0.8856 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005855/0.8646, allocations: 112.1 kB / 0.8857 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.108e-05/0.8647, allocations: 8.438 kB / 0.8857 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.7e-05/0.8647, allocations: 19.98 kB / 0.8858 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/0.8647, allocations: 4 kB / 0.8858 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.8647, allocations: 8.812 kB / 0.8858 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002257/0.867, allocations: 1.233 MB / 0.887 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006499/0.8677, allocations: 291.6 kB / 0.8873 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/0.8679, allocations: 19.81 kB / 0.8873 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.8689, allocations: 67.97 kB / 0.8873 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.869, allocations: 35.95 kB / 0.8874 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.213e-05/0.8691, allocations: 23.98 kB / 0.8874 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001522/0.8706, allocations: 0.9208 MB / 0.8883 GB, free: 9.223 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8706, allocations: 0 / 0.8883 GB, free: 9.223 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001232/0.8719, allocations: 411.4 kB / 0.8887 GB, free: 8.82 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.002916/0.8748, allocations: 1.891 MB / 0.8905 GB, free: 6.883 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002104/0.8769, allocations: 0.9474 MB / 0.8915 GB, free: 5.938 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.8769, allocations: 0 / 0.8915 GB, free: 5.938 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006484/0.8776, allocations: 340.1 kB / 0.8918 GB, free: 5.605 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002123/0.8797, allocations: 442.2 kB / 0.8922 GB, free: 5.176 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0138/0.8935, allocations: 8.48 MB / 0.9005 GB, free: 12.51 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006454/0.8942, allocations: 1.041 MB / 0.9015 GB, free: 11.43 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001052/0.8953, allocations: 287.1 kB / 0.9018 GB, free: 11.15 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006864/0.896, allocations: 387.3 kB / 0.9021 GB, free: 10.77 MB / 0.67 GB Notification: Performance of SimCode: time 2.054e-06/0.896, allocations: 4 kB / 0.9021 GB, free: 10.77 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06116/0.9571, allocations: 30.74 MB / 0.9322 GB, free: 12.35 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.807/10.76, allocations: 17.42 kB / 0.9322 GB, free: 12.34 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)