Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasMixer,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasMixer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasMixer,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasMixer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001186/0.001186, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.905/1.905, allocations: 205.2 MB / 219.4 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009803/0.0009805, allocations: 82.72 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4168/0.4168, allocations: 48.78 MB / 364.3 MB, free: 6.867 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.256e-05/4.259e-05, allocations: 0 / 432.5 MB, free: 16.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1963, allocations: 60.26 MB / 492.8 MB, free: 4.297 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.553/2.749, allocations: 0.7198 GB / 1.201 GB, free: 92 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003493/2.749, allocations: 86.53 kB / 1.201 GB, free: 91.96 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.754/4.504, allocations: 402.7 MB / 1.594 GB, free: 97.94 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.916e-06/4.504, allocations: 1.031 kB / 1.594 GB, free: 97.94 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.188e-05/4.504, allocations: 33.45 kB / 1.594 GB, free: 97.94 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002928/4.507, allocations: 1.057 MB / 1.595 GB, free: 97.16 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 8.291e-05/4.507, allocations: 9.938 kB / 1.595 GB, free: 97.16 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002098/4.507, allocations: 133.5 kB / 1.596 GB, free: 97.05 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009737/4.508, allocations: 170.8 kB / 1.596 GB, free: 96.98 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001484/4.51, allocations: 0.6186 MB / 1.596 GB, free: 96.49 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.477e-05/4.51, allocations: 65.06 kB / 1.596 GB, free: 96.46 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001665/4.51, allocations: 74.81 kB / 1.596 GB, free: 96.44 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001882/4.512, allocations: 1.001 MB / 1.597 GB, free: 95.66 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/4.512, allocations: 0 / 1.597 GB, free: 95.66 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/4.512, allocations: 35.94 kB / 1.598 GB, free: 95.62 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.147e-05/4.512, allocations: 26.97 kB / 1.598 GB, free: 95.61 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001249/4.513, allocations: 0.7615 MB / 1.598 GB, free: 94.84 MB / 0.5105 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.005698/4.519, allocations: 3.888 MB / 1.602 GB, free: 90.65 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/4.52, allocations: 0.7819 MB / 1.603 GB, free: 89.83 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004013/4.521, allocations: 290.5 kB / 1.603 GB, free: 89.54 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.293e-05/4.521, allocations: 26.64 kB / 1.603 GB, free: 89.52 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/4.521, allocations: 55.02 kB / 1.603 GB, free: 89.46 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=61): time 4.518e-06/4.521, allocations: 2.719 kB / 1.603 GB, free: 89.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=67): time 0.007029/4.528, allocations: 2.334 MB / 1.605 GB, free: 87.04 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.772e-05/4.528, allocations: 113.4 kB / 1.606 GB, free: 86.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007468/4.529, allocations: 0.5697 MB / 1.606 GB, free: 86.33 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.425e-05/4.529, allocations: 41.7 kB / 1.606 GB, free: 86.28 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002694/4.529, allocations: 377.9 kB / 1.607 GB, free: 85.91 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000175/4.529, allocations: 237 kB / 1.607 GB, free: 85.68 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.34e-05/4.529, allocations: 16 kB / 1.607 GB, free: 85.67 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001608/4.53, allocations: 386.7 kB / 1.607 GB, free: 85.28 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004499/4.53, allocations: 301.5 kB / 1.607 GB, free: 84.98 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005037/4.53, allocations: 412.8 kB / 1.608 GB, free: 84.55 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005073/4.531, allocations: 337.6 kB / 1.608 GB, free: 84.22 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/4.531, allocations: 0 / 1.608 GB, free: 84.22 MB / 0.5105 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00217/4.533, allocations: 1.156 MB / 1.609 GB, free: 83.06 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002628/4.533, allocations: 0.79 MB / 1.61 GB, free: 82.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/4.533, allocations: 4 kB / 1.61 GB, free: 82.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003764/4.537, allocations: 0.8519 MB / 1.611 GB, free: 81.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005166/4.538, allocations: 119.8 kB / 1.611 GB, free: 81.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002031/4.54, allocations: 1.389 MB / 1.612 GB, free: 79.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/4.541, allocations: 119.8 kB / 1.612 GB, free: 79.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/4.541, allocations: 31.98 kB / 1.613 GB, free: 79.68 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/4.541, allocations: 4 kB / 1.613 GB, free: 79.67 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001937/4.543, allocations: 0.9527 MB / 1.613 GB, free: 78.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/4.543, allocations: 4 kB / 1.613 GB, free: 78.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001571/4.545, allocations: 442.5 kB / 1.614 GB, free: 78.28 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006904/4.545, allocations: 171.8 kB / 1.614 GB, free: 78.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00171/4.547, allocations: 2.194 MB / 1.616 GB, free: 75.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/4.548, allocations: 104.1 kB / 1.616 GB, free: 75.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.655e-05/4.548, allocations: 34.83 kB / 1.616 GB, free: 75.71 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 33} Notification: Performance of prepare postOptimizeDAE: time 0.0004038/4.549, allocations: 148.8 kB / 1.616 GB, free: 75.56 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/4.549, allocations: 83.06 kB / 1.617 GB, free: 75.48 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001908/4.551, allocations: 0.9389 MB / 1.617 GB, free: 74.52 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/4.551, allocations: 11.95 kB / 1.617 GB, free: 74.51 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/4.551, allocations: 0 / 1.617 GB, free: 74.51 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/4.551, allocations: 3.984 kB / 1.617 GB, free: 74.51 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003235/4.554, allocations: 1.974 MB / 1.619 GB, free: 72.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/4.554, allocations: 4 kB / 1.619 GB, free: 72.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008821/4.555, allocations: 171.9 kB / 1.62 GB, free: 72.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00197/4.557, allocations: 360.7 kB / 1.62 GB, free: 71.94 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.23e-05/4.557, allocations: 27.91 kB / 1.62 GB, free: 71.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00193/4.559, allocations: 2.723 MB / 1.623 GB, free: 69.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/4.559, allocations: 0 / 1.623 GB, free: 69.01 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001958/4.561, allocations: 1.363 MB / 1.624 GB, free: 67.58 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003816/4.561, allocations: 156.3 kB / 1.624 GB, free: 67.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/4.561, allocations: 23.94 kB / 1.624 GB, free: 67.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009036/4.562, allocations: 99.81 kB / 1.624 GB, free: 67.29 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/4.563, allocations: 60.42 kB / 1.624 GB, free: 67.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.51e-05/4.563, allocations: 51.89 kB / 1.624 GB, free: 67.18 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005912/4.563, allocations: 455.1 kB / 1.625 GB, free: 66.74 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/4.563, allocations: 0 / 1.625 GB, free: 66.74 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002348/4.566, allocations: 0.6013 MB / 1.625 GB, free: 66.14 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (Mixer1.gas.p,Mixer1.gas.Xi[1],Mixer1.gas.Xi[2],Mixer1.gas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {3 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.004915/4.571, allocations: 3.137 MB / 1.628 GB, free: 63.12 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003135/4.574, allocations: 1.366 MB / 1.63 GB, free: 61.75 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/4.574, allocations: 0.7812 kB / 1.63 GB, free: 61.75 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008754/4.575, allocations: 0.5376 MB / 1.63 GB, free: 61.21 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002221/4.577, allocations: 454.8 kB / 1.631 GB, free: 60.76 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003029/4.58, allocations: 1.6 MB / 1.632 GB, free: 59.12 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005054/4.58, allocations: 1.016 MB / 1.633 GB, free: 58.08 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001027/4.581, allocations: 249.7 kB / 1.633 GB, free: 57.84 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004061/4.582, allocations: 311.3 kB / 1.634 GB, free: 57.54 MB / 0.5105 GB Notification: Performance of SimCode: time 9.32e-07/4.582, allocations: 3.938 kB / 1.634 GB, free: 57.54 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09252/4.674, allocations: 50.02 MB / 1.683 GB, free: 7.578 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002383/4.675, allocations: 167.7 kB / 1.683 GB, free: 7.359 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.839/8.514, allocations: 4.062 kB / 1.683 GB, free: 7.355 MB / 0.5105 GB (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestGasMixer_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestGasMixer.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.pipe 2>&1)