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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.008088/0.008088, allocations: 169.6 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7763/0.7763, allocations: 135.2 MB / 151 MB, free: 13.81 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 223.2 MB / 406.8 MB, free: 3.223 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008345/0.0008344, allocations: 95.3 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004635/0.0004635, allocations: 8 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4588/0.4593, allocations: 82.3 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.951/5.411, allocations: 1.879 GB / 2.528 GB, free: 97.85 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003985/5.411, allocations: 93.12 kB / 2.528 GB, free: 97.76 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.85/8.262, allocations: 0.6118 GB / 3.14 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.765e-06/8.262, allocations: 5.609 kB / 3.14 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001329/8.262, allocations: 26.91 kB / 3.14 GB, free: 118.1 MB / 0.6823 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.006038/8.268, allocations: 1.674 MB / 3.142 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/8.268, allocations: 9.188 kB / 3.142 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002548/8.268, allocations: 91.05 kB / 3.142 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002998/8.271, allocations: 230.1 kB / 3.142 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003147/8.274, allocations: 1.026 MB / 3.143 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.2e-05/8.274, allocations: 46.66 kB / 3.143 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/8.275, allocations: 63.42 kB / 3.143 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/8.276, allocations: 0.6309 MB / 3.144 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/8.276, allocations: 1.812 kB / 3.144 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.408e-05/8.276, allocations: 27.25 kB / 3.144 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.019e-05/8.276, allocations: 19.75 kB / 3.144 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/8.278, allocations: 0.6536 MB / 3.144 GB, free: 117.2 MB / 0.6823 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.006076/8.284, allocations: 2.735 MB / 3.147 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/8.285, allocations: 0.5859 MB / 3.148 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004086/8.285, allocations: 290.5 kB / 3.148 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/8.285, allocations: 41.31 kB / 3.148 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001274/8.287, allocations: 223.9 kB / 3.148 GB, free: 116 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=44): time 3.647e-06/8.287, allocations: 0 / 3.148 GB, free: 116 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44): time 0.002496/8.289, allocations: 1.065 MB / 3.149 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/8.289, allocations: 55.31 kB / 3.149 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00169/8.291, allocations: 1.126 MB / 3.15 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.215e-05/8.291, allocations: 38.2 kB / 3.15 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003236/8.291, allocations: 438.6 kB / 3.151 GB, free: 115.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/8.291, allocations: 151.2 kB / 3.151 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/8.292, allocations: 11.41 kB / 3.151 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.609e-05/8.292, allocations: 324.9 kB / 3.151 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005027/8.292, allocations: 273.6 kB / 3.152 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006635/8.293, allocations: 0.4992 MB / 3.152 GB, free: 115 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005399/8.293, allocations: 325 kB / 3.152 GB, free: 115 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/8.293, allocations: 3.219 kB / 3.152 GB, free: 115 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001385/8.295, allocations: 0.7608 MB / 3.153 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.436e-05/8.295, allocations: 107.1 kB / 3.153 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/8.295, allocations: 0 / 3.153 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/8.295, allocations: 0 / 3.153 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006862/8.296, allocations: 137.6 kB / 3.153 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/8.296, allocations: 0 / 3.153 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/8.297, allocations: 128.9 kB / 3.153 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.068e-05/8.297, allocations: 25.19 kB / 3.153 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/8.297, allocations: 3.781 kB / 3.153 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001174/8.298, allocations: 0.6422 MB / 3.154 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.946e-06/8.298, allocations: 0 / 3.154 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.959e-06/8.298, allocations: 3.656 kB / 3.154 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006525/8.299, allocations: 134.8 kB / 3.154 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/8.299, allocations: 3.531 kB / 3.154 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/8.301, allocations: 117.8 kB / 3.154 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.624e-05/8.301, allocations: 28.44 kB / 3.154 GB, free: 114.8 MB / 0.6823 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 (46): * Single equations (assignments): 46 * 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.0005066/8.301, allocations: 327.4 kB / 3.155 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000206/8.301, allocations: 110.3 kB / 3.155 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001609/8.303, allocations: 0.8527 MB / 3.156 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/8.303, allocations: 7.75 kB / 3.156 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/8.303, allocations: 3.625 kB / 3.156 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/8.303, allocations: 3.891 kB / 3.156 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003168/8.306, allocations: 2.005 MB / 3.158 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/8.306, allocations: 3.812 kB / 3.158 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000586/8.307, allocations: 118 kB / 3.158 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/8.307, allocations: 3.969 kB / 3.158 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.748e-05/8.307, allocations: 17.08 kB / 3.158 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/8.307, allocations: 4.641 kB / 3.158 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/8.307, allocations: 4.719 kB / 3.158 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00252/8.309, allocations: 1.402 MB / 3.159 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006967/8.31, allocations: 308.1 kB / 3.159 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001652/8.31, allocations: 15.16 kB / 3.159 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/8.311, allocations: 88.03 kB / 3.159 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/8.312, allocations: 41.73 kB / 3.16 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.967e-05/8.312, allocations: 24.53 kB / 3.16 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001356/8.313, allocations: 0.8935 MB / 3.16 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.71e-07/8.313, allocations: 0 / 3.16 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001883/8.315, allocations: 0.5497 MB / 3.161 GB, free: 113.4 MB / 0.6823 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 (53): * Single equations (assignments): 53 * 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.004683/8.32, allocations: 4.066 MB / 3.165 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001937/8.322, allocations: 0.9572 MB / 3.166 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/8.322, allocations: 0 / 3.166 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005947/8.322, allocations: 351.1 kB / 3.166 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002766/8.325, allocations: 453 kB / 3.167 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01119/8.336, allocations: 6.622 MB / 3.173 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004974/8.337, allocations: 1.064 MB / 3.174 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001375/8.338, allocations: 291.3 kB / 3.174 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005873/8.339, allocations: 391.2 kB / 3.175 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.172e-06/8.339, allocations: 0.5625 kB / 3.175 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08349/8.422, allocations: 53.11 MB / 3.227 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001675/8.422, allocations: 208.8 kB / 3.227 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.719/12.14, allocations: 0 / 3.227 GB, free: 107.6 MB / 0.6823 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)