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.0009046/0.0009088, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.007498/0.007498, allocations: 171.3 kB / 16.26 MB, free: 6.613 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.462/1.462, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9154/0.9154, allocations: 135.3 MB / 426.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003352/0.0003352, allocations: 8 kB / 0.5077 GB, free: 4.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1583, allocations: 82.31 MB / 0.5881 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.5229/0.6812, allocations: 184.9 MB / 0.7687 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006948/0.6882, allocations: 4.264 MB / 0.7729 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001078/0.6893, allocations: 23.88 kB / 0.7729 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00127/0.6906, allocations: 417.6 kB / 0.7733 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003767/0.6944, allocations: 1.464 MB / 0.7747 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003274/0.6977, allocations: 1.233 MB / 0.7759 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003782/0.7015, allocations: 2.792 MB / 0.7786 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001969/0.7035, allocations: 0.9064 MB / 0.7795 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002833/0.7063, allocations: 0.817 MB / 0.7803 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002162/0.7085, allocations: 0.8209 MB / 0.7811 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003955/0.7089, allocations: 60 kB / 0.7812 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003553/0.7125, allocations: 1.36 MB / 0.7825 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005815/0.7131, allocations: 338.7 kB / 0.7828 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001272/0.7144, allocations: 0.5767 MB / 0.7834 GB, free: 4.387 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00338/0.7178, allocations: 1.947 MB / 0.7853 GB, free: 2.434 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.7178, allocations: 4 kB / 0.7853 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.465e-06/0.7178, allocations: 0 / 0.7853 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.126e-05/0.7179, allocations: 0 / 0.7853 GB, free: 2.43 MB / 0.5919 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.004245/0.7221, allocations: 1.501 MB / 0.7868 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/0.7222, allocations: 12.03 kB / 0.7868 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001656/0.7224, allocations: 94.52 kB / 0.7869 GB, free: 0.7656 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009839/0.7234, allocations: 182.5 kB / 0.787 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001742/0.7251, allocations: 1.041 MB / 0.7881 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/0.7253, allocations: 56.98 kB / 0.7881 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.7254, allocations: 56 kB / 0.7882 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.7266, allocations: 0.6232 MB / 0.7888 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.7267, allocations: 7.938 kB / 0.7888 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.104e-05/0.7267, allocations: 20 kB / 0.7888 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.811e-05/0.7268, allocations: 17 kB / 0.7888 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/0.7281, allocations: 0.6441 MB / 0.7894 GB, free: 14.06 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.003967/0.7321, allocations: 2.677 MB / 0.7921 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.7332, allocations: 0.5607 MB / 0.7926 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006295/0.7339, allocations: 357.4 kB / 0.7929 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003666/0.7343, allocations: 287.3 kB / 0.7932 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.7343, allocations: 42.52 kB / 0.7933 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006994/0.735, allocations: 163.5 kB / 0.7934 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.124e-06/0.735, allocations: 0 / 0.7934 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43): time 0.002274/0.7373, allocations: 1.052 MB / 0.7944 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.7373, allocations: 67.34 kB / 0.7945 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001855/0.7392, allocations: 1.267 MB / 0.7957 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.669e-05/0.7393, allocations: 37.7 kB / 0.7958 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003313/0.7396, allocations: 445.6 kB / 0.7962 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.7398, allocations: 145.8 kB / 0.7963 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.942e-05/0.7398, allocations: 37.69 kB / 0.7964 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.111e-05/0.7399, allocations: 329.9 kB / 0.7967 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000569/0.7405, allocations: 272.6 kB / 0.797 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007565/0.7413, allocations: 495.1 kB / 0.7974 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.7425, allocations: 0.6187 MB / 0.798 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.7425, allocations: 0 / 0.798 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001485/0.744, allocations: 0.7651 MB / 0.7988 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.989e-05/0.744, allocations: 97.61 kB / 0.7989 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.7441, allocations: 0 / 0.7989 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.7441, allocations: 4 kB / 0.7989 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006509/0.7447, allocations: 127.8 kB / 0.799 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.7447, allocations: 7.875 kB / 0.799 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/0.746, allocations: 123.7 kB / 0.7991 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.492e-05/0.746, allocations: 23.97 kB / 0.7991 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.362e-06/0.7461, allocations: 4 kB / 0.7991 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001295/0.7474, allocations: 0.628 MB / 0.7998 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.7474, allocations: 7.984 kB / 0.7998 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-06/0.7474, allocations: 0 / 0.7998 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006118/0.748, allocations: 123.8 kB / 0.7999 GB, free: 3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.748, allocations: 4 kB / 0.7999 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/0.7492, allocations: 122.5 kB / 0.8 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.933e-05/0.7493, allocations: 27.97 kB / 0.8 GB, free: 2.852 MB / 0.6075 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.0003502/0.7496, allocations: 329 kB / 0.8003 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.7498, allocations: 98.78 kB / 0.8004 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001713/0.7515, allocations: 0.8342 MB / 0.8013 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.7515, allocations: 8 kB / 0.8013 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.7515, allocations: 0 / 0.8013 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.7515, allocations: 7.984 kB / 0.8013 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002943/0.7545, allocations: 1.965 MB / 0.8032 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.7545, allocations: 4 kB / 0.8032 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005745/0.7551, allocations: 120.1 kB / 0.8033 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.7551, allocations: 7.938 kB / 0.8033 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.093e-05/0.7552, allocations: 19.98 kB / 0.8033 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/0.7552, allocations: 7.938 kB / 0.8033 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.7552, allocations: 4 kB / 0.8033 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002207/0.7574, allocations: 1.272 MB / 0.8046 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004066/0.7578, allocations: 295.7 kB / 0.8049 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.758, allocations: 15.94 kB / 0.8049 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/0.759, allocations: 79.88 kB / 0.805 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.7591, allocations: 39.95 kB / 0.805 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.548e-05/0.7592, allocations: 23.98 kB / 0.805 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001448/0.7607, allocations: 0.9168 MB / 0.8059 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7607, allocations: 4 kB / 0.8059 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001169/0.7618, allocations: 407.4 kB / 0.8063 GB, free: 12.25 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.002817/0.7647, allocations: 1.933 MB / 0.8082 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002028/0.7667, allocations: 0.9718 MB / 0.8091 GB, free: 9.297 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.7667, allocations: 0 / 0.8091 GB, free: 9.297 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006715/0.7674, allocations: 352.1 kB / 0.8095 GB, free: 8.953 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003225/0.7706, allocations: 472.4 kB / 0.8099 GB, free: 8.508 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01538/0.786, allocations: 9.312 MB / 0.819 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005375/0.7866, allocations: 1.049 MB / 0.8201 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001204/0.7878, allocations: 295 kB / 0.8203 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006078/0.7884, allocations: 387.3 kB / 0.8207 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of SimCode: time 4.31e-07/0.7884, allocations: 0 / 0.8207 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1189/0.9074, allocations: 28.74 MB / 0.8488 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002975/0.9077, allocations: 238.4 kB / 0.849 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.16/4.068, allocations: 4 kB / 0.849 GB, free: 0.543 MB / 0.6544 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)