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.0009357/0.0009359, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001148/0.001147, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 223.2 MB / 240 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.011/1.011, allocations: 135.3 MB / 426.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003445, allocations: 8 kB / 0.5071 GB, free: 5.02 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2056, allocations: 82.32 MB / 0.5875 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.8535/1.059, allocations: 172.5 MB / 0.756 GB, free: 184 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01047/1.07, allocations: 4.061 MB / 0.7599 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001981/1.072, allocations: 23.81 kB / 0.76 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001779/1.074, allocations: 333.7 kB / 0.7603 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005315/1.079, allocations: 1.139 MB / 0.7614 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004829/1.084, allocations: 1.013 MB / 0.7624 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005099/1.089, allocations: 2.389 MB / 0.7647 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002565/1.091, allocations: 0.8592 MB / 0.7655 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003223/1.095, allocations: 0.8094 MB / 0.7663 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002597/1.097, allocations: 0.786 MB / 0.7671 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003659/1.098, allocations: 56 kB / 0.7672 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003502/1.101, allocations: 0.799 MB / 0.7679 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006922/1.102, allocations: 330.8 kB / 0.7683 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005943/1.103, allocations: 225.1 kB / 0.7685 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002867/1.105, allocations: 1.461 MB / 0.7699 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/1.105, allocations: 4 kB / 0.7699 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.439e-06/1.106, allocations: 0 / 0.7699 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.238e-05/1.106, allocations: 3.938 kB / 0.7699 GB, free: 2.074 MB / 0.5762 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.005972/1.112, allocations: 1.501 MB / 0.7714 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.775e-05/1.112, allocations: 8.031 kB / 0.7714 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002928/1.112, allocations: 98.5 kB / 0.7715 GB, free: 420 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001446/1.113, allocations: 182.5 kB / 0.7716 GB, free: 236 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003077/1.116, allocations: 0.9987 MB / 0.7726 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001875/1.117, allocations: 52.98 kB / 0.7727 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/1.117, allocations: 60 kB / 0.7727 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001756/1.119, allocations: 0.6232 MB / 0.7733 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/1.119, allocations: 0 / 0.7733 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-05/1.119, allocations: 16 kB / 0.7734 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.663e-05/1.119, allocations: 24.94 kB / 0.7734 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002005/1.121, allocations: 0.648 MB / 0.774 GB, free: 13.75 MB / 0.5919 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.006863/1.128, allocations: 2.68 MB / 0.7766 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/1.129, allocations: 0.5452 MB / 0.7772 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009599/1.13, allocations: 361.4 kB / 0.7775 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005505/1.131, allocations: 291.3 kB / 0.7778 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/1.131, allocations: 46.45 kB / 0.7778 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001454/1.132, allocations: 163.5 kB / 0.778 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 5.5e-06/1.132, allocations: 0 / 0.778 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.003804/1.136, allocations: 1.048 MB / 0.779 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/1.136, allocations: 55.41 kB / 0.7791 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003244/1.14, allocations: 1.263 MB / 0.7803 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002171/1.14, allocations: 45.64 kB / 0.7803 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005465/1.14, allocations: 437.7 kB / 0.7808 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002344/1.141, allocations: 149.8 kB / 0.7809 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.333e-05/1.141, allocations: 12 kB / 0.7809 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001727/1.141, allocations: 318 kB / 0.7812 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008466/1.142, allocations: 276.5 kB / 0.7815 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/1.143, allocations: 484.2 kB / 0.7819 GB, free: 5.289 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009721/1.144, allocations: 327.7 kB / 0.7822 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/1.144, allocations: 3.984 kB / 0.7822 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.002692/1.147, allocations: 0.7495 MB / 0.783 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001018/1.147, allocations: 101.4 kB / 0.7831 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/1.147, allocations: 0 / 0.7831 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.648e-05/1.147, allocations: 4 kB / 0.7831 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009898/1.148, allocations: 123.8 kB / 0.7832 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/1.148, allocations: 0 / 0.7832 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002109/1.15, allocations: 123.8 kB / 0.7833 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-05/1.15, allocations: 23.97 kB / 0.7833 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/1.15, allocations: 8 kB / 0.7833 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002046/1.152, allocations: 0.632 MB / 0.784 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/1.152, allocations: 0 / 0.784 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/1.152, allocations: 4 kB / 0.784 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009029/1.153, allocations: 127.8 kB / 0.7841 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/1.153, allocations: 0 / 0.7841 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002456/1.156, allocations: 134.1 kB / 0.7842 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.033e-05/1.156, allocations: 19.98 kB / 0.7842 GB, free: 2.922 MB / 0.5919 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009158/1.157, allocations: 325 kB / 0.7845 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006343/1.157, allocations: 102.8 kB / 0.7846 GB, free: 2.492 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002831/1.16, allocations: 0.831 MB / 0.7855 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/1.16, allocations: 4 kB / 0.7855 GB, free: 1.652 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/1.16, allocations: 0 / 0.7855 GB, free: 1.652 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.86e-05/1.16, allocations: 7.938 kB / 0.7855 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005093/1.165, allocations: 1.973 MB / 0.7874 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/1.165, allocations: 4.688 kB / 0.7874 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000812/1.166, allocations: 111.9 kB / 0.7875 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.641e-05/1.166, allocations: 4 kB / 0.7875 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.284e-05/1.166, allocations: 16 kB / 0.7875 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.304e-05/1.166, allocations: 4.938 kB / 0.7875 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.067e-05/1.166, allocations: 11.92 kB / 0.7875 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00345/1.17, allocations: 1.268 MB / 0.7888 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001001/1.171, allocations: 295.6 kB / 0.7891 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002382/1.171, allocations: 12 kB / 0.7891 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001523/1.173, allocations: 83.81 kB / 0.7892 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/1.173, allocations: 43.92 kB / 0.7892 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.415e-05/1.173, allocations: 20 kB / 0.7892 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002333/1.175, allocations: 0.9169 MB / 0.7901 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.7e-07/1.175, allocations: 0 / 0.7901 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002106/1.177, allocations: 399.4 kB / 0.7905 GB, free: 12.34 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004238/1.182, allocations: 1.937 MB / 0.7924 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003306/1.185, allocations: 0.9636 MB / 0.7933 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.368e-05/1.185, allocations: 0 / 0.7933 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001069/1.186, allocations: 352.1 kB / 0.7937 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004807/1.191, allocations: 462.5 kB / 0.7941 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02547/1.216, allocations: 6.751 MB / 0.8007 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/1.218, allocations: 1.049 MB / 0.8017 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00254/1.22, allocations: 299 kB / 0.802 GB, free: 260 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001117/1.221, allocations: 387.4 kB / 0.8024 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of SimCode: time 1.983e-06/1.221, allocations: 0 / 0.8024 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09979/1.321, allocations: 28.96 MB / 0.8307 GB, free: 3.348 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003514/1.322, allocations: 224.4 kB / 0.8309 GB, free: 3.105 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.852/4.174, allocations: 0 / 0.8309 GB, free: 3.105 MB / 0.6387 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/linux/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) Environment - environmentSimulation: