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.00208/0.00208, allocations: 174.5 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.357/1.357, allocations: 133.6 MB / 141.6 MB, free: 2.871 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.635/2.635, allocations: 221.5 MB / 395.4 MB, free: 10.8 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.00131/0.00131, allocations: 98.8 kB / 478.2 MB, free: 1.344 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 5.2e-05/5.188e-05, allocations: 4 kB / 0.5536 GB, free: 8.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8745/0.8746, allocations: 82.29 MB / 0.6339 GB, free: 40.72 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.397/10.27, allocations: 1.878 GB / 2.512 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004819/10.27, allocations: 87.33 kB / 2.512 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.484/14.76, allocations: 0.6043 GB / 3.116 GB, free: 43.78 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.689e-06/14.76, allocations: 0 / 3.116 GB, free: 43.78 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001679/14.76, allocations: 31.98 kB / 3.116 GB, free: 43.75 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.006118/14.76, allocations: 1.285 MB / 3.117 GB, free: 42.42 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 9.846e-05/14.76, allocations: 8.031 kB / 3.117 GB, free: 42.41 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004158/14.77, allocations: 234.3 kB / 3.118 GB, free: 42.18 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003359/14.77, allocations: 1.001 MB / 3.119 GB, free: 41.12 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.45e-05/14.77, allocations: 16 kB / 3.119 GB, free: 41.11 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/14.77, allocations: 36 kB / 3.119 GB, free: 41.07 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001334/14.77, allocations: 0.5414 MB / 3.119 GB, free: 40.53 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/14.77, allocations: 0.5154 MB / 3.12 GB, free: 40 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/14.77, allocations: 0 / 3.12 GB, free: 40 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.954e-05/14.77, allocations: 0 / 3.12 GB, free: 40 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.589e-05/14.77, allocations: 21.25 kB / 3.12 GB, free: 39.98 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.007303/14.78, allocations: 2.597 MB / 3.122 GB, free: 37.26 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/14.78, allocations: 0.5219 MB / 3.123 GB, free: 36.73 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005453/14.78, allocations: 317.9 kB / 3.123 GB, free: 36.42 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005535/14.78, allocations: 287.3 kB / 3.123 GB, free: 36.08 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/14.78, allocations: 35.28 kB / 3.123 GB, free: 36.04 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001694/14.78, allocations: 199.6 kB / 3.124 GB, free: 35.84 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=44): time 7.925e-06/14.78, allocations: 0 / 3.124 GB, free: 35.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44): time 0.002408/14.79, allocations: 0.6759 MB / 3.124 GB, free: 35.16 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/14.79, allocations: 59.34 kB / 3.124 GB, free: 35.09 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002033/14.79, allocations: 0.953 MB / 3.125 GB, free: 34.12 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001294/14.79, allocations: 29.7 kB / 3.125 GB, free: 34.08 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004676/14.79, allocations: 445.6 kB / 3.126 GB, free: 33.64 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/14.79, allocations: 145.7 kB / 3.126 GB, free: 33.49 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.454e-05/14.79, allocations: 0 / 3.126 GB, free: 33.49 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001125/14.79, allocations: 322 kB / 3.126 GB, free: 33.17 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004255/14.79, allocations: 224.7 kB / 3.126 GB, free: 32.95 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006664/14.79, allocations: 441.9 kB / 3.127 GB, free: 32.43 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006377/14.79, allocations: 283.7 kB / 3.127 GB, free: 32.16 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/14.79, allocations: 0 / 3.127 GB, free: 32.16 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001715/14.79, allocations: 0.6483 MB / 3.128 GB, free: 31.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.764e-05/14.79, allocations: 100.5 kB / 3.128 GB, free: 31.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/14.79, allocations: 0 / 3.128 GB, free: 31.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.887e-05/14.79, allocations: 0 / 3.128 GB, free: 31.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/14.79, allocations: 139.8 kB / 3.128 GB, free: 31.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.608e-05/14.79, allocations: 0 / 3.128 GB, free: 31.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002028/14.8, allocations: 107.8 kB / 3.128 GB, free: 31.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/14.8, allocations: 35.95 kB / 3.128 GB, free: 31.12 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/14.8, allocations: 4 kB / 3.128 GB, free: 31.12 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001269/14.8, allocations: 0.5073 MB / 3.129 GB, free: 30.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/14.8, allocations: 3.984 kB / 3.129 GB, free: 30.61 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/14.8, allocations: 7.953 kB / 3.129 GB, free: 30.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008737/14.8, allocations: 135.8 kB / 3.129 GB, free: 30.47 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/14.8, allocations: 0 / 3.129 GB, free: 30.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002133/14.8, allocations: 103.8 kB / 3.129 GB, free: 30.37 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/14.8, allocations: 43.88 kB / 3.129 GB, free: 30.32 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.0003104/14.8, allocations: 112.9 kB / 3.129 GB, free: 30.21 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001755/14.8, allocations: 0.6292 MB / 3.13 GB, free: 29.57 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002711/14.8, allocations: 98.73 kB / 3.13 GB, free: 29.47 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002015/14.81, allocations: 0.701 MB / 3.13 GB, free: 28.77 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/14.81, allocations: 4 kB / 3.13 GB, free: 28.77 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/14.81, allocations: 0 / 3.13 GB, free: 28.77 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/14.81, allocations: 3.984 kB / 3.13 GB, free: 28.76 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004136/14.81, allocations: 1.798 MB / 3.132 GB, free: 26.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/14.81, allocations: 0 / 3.132 GB, free: 26.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008589/14.81, allocations: 120.1 kB / 3.132 GB, free: 26.77 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.928e-05/14.81, allocations: 8 kB / 3.132 GB, free: 26.77 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-05/14.81, allocations: 12 kB / 3.132 GB, free: 26.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.278e-06/14.81, allocations: 4 kB / 3.132 GB, free: 26.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/14.81, allocations: 7.938 kB / 3.132 GB, free: 26.74 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002699/14.81, allocations: 1.192 MB / 3.133 GB, free: 25.45 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/14.82, allocations: 303.7 kB / 3.134 GB, free: 25.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002225/14.82, allocations: 7.953 kB / 3.134 GB, free: 25.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001521/14.82, allocations: 75.86 kB / 3.134 GB, free: 25.05 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000179/14.82, allocations: 47.89 kB / 3.134 GB, free: 25.01 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.525e-05/14.82, allocations: 23.98 kB / 3.134 GB, free: 24.98 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00153/14.82, allocations: 0.7429 MB / 3.135 GB, free: 24.23 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.51e-07/14.82, allocations: 0 / 3.135 GB, free: 24.23 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002917/14.82, allocations: 0.503 MB / 3.135 GB, free: 23.73 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.006708/14.83, allocations: 4.058 MB / 3.139 GB, free: 19.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00249/14.83, allocations: 0.8248 MB / 3.14 GB, free: 18.67 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.474e-05/14.83, allocations: 0 / 3.14 GB, free: 18.67 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000712/14.83, allocations: 279.7 kB / 3.14 GB, free: 18.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004385/14.84, allocations: 395.8 kB / 3.14 GB, free: 18.02 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005946/14.84, allocations: 1.414 MB / 3.142 GB, free: 16.53 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009819/14.84, allocations: 1.067 MB / 3.143 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003021/14.85, allocations: 389.9 kB / 3.143 GB, free: 15.05 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000865/14.85, allocations: 359.3 kB / 3.144 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of SimCode: time 2.434e-06/14.85, allocations: 0 / 3.144 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.164/16.01, allocations: 38.53 MB / 3.181 GB, free: 123.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000489/16.01, allocations: 160.5 kB / 3.181 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.456/22.47, allocations: 1.281 kB / 3.181 GB, free: 123.7 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)