Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="IDEAS_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.00113/0.00113, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.707/0.707, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.384/1.384, allocations: 221.3 MB / 400.4 MB, free: 5.785 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000937/0.0009372, allocations: 95.81 kB / 483.3 MB, free: 5.812 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.371e-05/3.382e-05, allocations: 2.469 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1525, allocations: 82.31 MB / 0.6405 GB, free: 7.723 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.288/4.44, allocations: 1.878 GB / 2.519 GB, free: 17.81 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/4.44, allocations: 94.44 kB / 2.519 GB, free: 17.76 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.36/6.8, allocations: 0.6113 GB / 3.13 GB, free: 126.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.493e-06/6.8, allocations: 0 / 3.13 GB, free: 126.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001444/6.8, allocations: 30.94 kB / 3.13 GB, free: 126.2 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.003427/6.804, allocations: 1.277 MB / 3.132 GB, free: 125.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/6.804, allocations: 7.375 kB / 3.132 GB, free: 125.5 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002279/6.804, allocations: 90.17 kB / 3.132 GB, free: 125.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002597/6.807, allocations: 235.6 kB / 3.132 GB, free: 125.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002297/6.809, allocations: 1.006 MB / 3.133 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.921e-05/6.809, allocations: 46.69 kB / 3.133 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/6.809, allocations: 58.97 kB / 3.133 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/6.81, allocations: 0.5755 MB / 3.134 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/6.81, allocations: 0 / 3.134 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.391e-05/6.81, allocations: 17.38 kB / 3.134 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.886e-05/6.81, allocations: 26.83 kB / 3.134 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008808/6.811, allocations: 0.559 MB / 3.134 GB, free: 125.1 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.004516/6.816, allocations: 2.723 MB / 3.137 GB, free: 124.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008284/6.817, allocations: 0.5216 MB / 3.137 GB, free: 124.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004019/6.817, allocations: 317.8 kB / 3.138 GB, free: 124.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003483/6.818, allocations: 291.2 kB / 3.138 GB, free: 124 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/6.818, allocations: 40.97 kB / 3.138 GB, free: 124 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001065/6.819, allocations: 224.1 kB / 3.138 GB, free: 123.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=44): time 3.416e-06/6.819, allocations: 0 / 3.138 GB, free: 123.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44): time 0.001402/6.82, allocations: 0.6831 MB / 3.139 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/6.82, allocations: 65.77 kB / 3.139 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001429/6.822, allocations: 1.089 MB / 3.14 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.356e-05/6.822, allocations: 36.2 kB / 3.14 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002803/6.822, allocations: 449 kB / 3.14 GB, free: 123.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/6.822, allocations: 152.9 kB / 3.141 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/6.822, allocations: 8.812 kB / 3.141 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.503e-05/6.822, allocations: 327.9 kB / 3.141 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003163/6.822, allocations: 224.7 kB / 3.141 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004594/6.823, allocations: 465.2 kB / 3.142 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003951/6.823, allocations: 274.4 kB / 3.142 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/6.823, allocations: 0 / 3.142 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001044/6.824, allocations: 0.6684 MB / 3.143 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.613e-05/6.824, allocations: 99.06 kB / 3.143 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/6.824, allocations: 3.953 kB / 3.143 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/6.824, allocations: 3.844 kB / 3.143 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007272/6.825, allocations: 135 kB / 3.143 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/6.825, allocations: 3.469 kB / 3.143 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/6.827, allocations: 120.5 kB / 3.143 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.806e-05/6.827, allocations: 32.77 kB / 3.143 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/6.827, allocations: 3.812 kB / 3.143 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008347/6.828, allocations: 0.5391 MB / 3.143 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-06/6.828, allocations: 0 / 3.143 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.76e-06/6.828, allocations: 6.875 kB / 3.143 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006426/6.828, allocations: 127.6 kB / 3.144 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/6.828, allocations: 0 / 3.144 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/6.83, allocations: 117.2 kB / 3.144 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.719e-05/6.83, allocations: 28.67 kB / 3.144 GB, free: 122.7 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 () * 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.0001777/6.83, allocations: 141.4 kB / 3.144 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000206/6.83, allocations: 111.7 kB / 3.144 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/6.831, allocations: 0.7516 MB / 3.145 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/6.831, allocations: 6.875 kB / 3.145 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/6.831, allocations: 0 / 3.145 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/6.831, allocations: 3.844 kB / 3.145 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002541/6.834, allocations: 1.914 MB / 3.147 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/6.834, allocations: 2.625 kB / 3.147 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005884/6.835, allocations: 117 kB / 3.147 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.338e-06/6.835, allocations: 6.844 kB / 3.147 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.527e-05/6.835, allocations: 25.08 kB / 3.147 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/6.835, allocations: 6.781 kB / 3.147 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/6.835, allocations: 7.281 kB / 3.147 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/6.836, allocations: 1.249 MB / 3.148 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005085/6.837, allocations: 306 kB / 3.148 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001607/6.837, allocations: 18.92 kB / 3.148 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/6.838, allocations: 80.59 kB / 3.148 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/6.838, allocations: 46.5 kB / 3.148 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.121e-05/6.838, allocations: 20.67 kB / 3.148 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001153/6.839, allocations: 0.8631 MB / 3.149 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.71e-07/6.839, allocations: 3.938 kB / 3.149 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001745/6.841, allocations: 0.5473 MB / 3.15 GB, free: 121.3 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 () * 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.00362/6.845, allocations: 3.892 MB / 3.154 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001344/6.846, allocations: 0.8508 MB / 3.154 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/6.846, allocations: 0 / 3.154 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003867/6.846, allocations: 303.4 kB / 3.155 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002518/6.849, allocations: 459.7 kB / 3.155 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002838/6.852, allocations: 1.482 MB / 3.157 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004127/6.852, allocations: 1.069 MB / 3.158 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001693/6.854, allocations: 413.9 kB / 3.158 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000443/6.854, allocations: 363.9 kB / 3.158 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of SimCode: time 1.062e-06/6.854, allocations: 0 / 3.158 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08514/6.94, allocations: 58.54 MB / 3.216 GB, free: 96.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001745/6.94, allocations: 177 kB / 3.216 GB, free: 96.08 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.037/10.98, allocations: 0 / 3.216 GB, free: 96.08 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)