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.001101/0.001101, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.803/1.803, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00105/0.00105, allocations: 81.42 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6266/0.6266, allocations: 48.78 MB / 358.8 MB, free: 53.11 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.454e-05/2.457e-05, allocations: 8.156 kB / 425.4 MB, free: 8.148 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1734, allocations: 60.26 MB / 485.6 MB, free: 11.74 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.489/2.662, allocations: 0.719 GB / 1.193 GB, free: 87.43 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/2.662, allocations: 77.09 kB / 1.193 GB, free: 87.39 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.645/4.308, allocations: 398.1 MB / 1.582 GB, free: 93.33 MB / 0.5108 GB Notification: Performance of FrontEnd: time 2.404e-06/4.308, allocations: 0 / 1.582 GB, free: 93.33 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 7.558e-05/4.308, allocations: 25.11 kB / 1.582 GB, free: 93.33 MB / 0.5108 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.002541/4.31, allocations: 1.066 MB / 1.583 GB, free: 92.54 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 6.613e-05/4.31, allocations: 11.78 kB / 1.583 GB, free: 92.54 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008913/4.311, allocations: 166.2 kB / 1.583 GB, free: 92.47 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/4.312, allocations: 0.6171 MB / 1.584 GB, free: 91.98 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.918e-05/4.313, allocations: 25.78 kB / 1.584 GB, free: 91.98 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/4.313, allocations: 50.7 kB / 1.584 GB, free: 91.98 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001318/4.314, allocations: 0.7635 MB / 1.585 GB, free: 91.64 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/4.315, allocations: 0.8735 MB / 1.586 GB, free: 91.16 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/4.316, allocations: 0 / 1.586 GB, free: 91.16 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.709e-05/4.316, allocations: 7.906 kB / 1.586 GB, free: 91.16 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.178e-05/4.316, allocations: 21.5 kB / 1.586 GB, free: 91.16 MB / 0.5108 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.005415/4.321, allocations: 3.679 MB / 1.589 GB, free: 87.98 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/4.323, allocations: 0.7952 MB / 1.59 GB, free: 87.48 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004327/4.323, allocations: 297.7 kB / 1.59 GB, free: 87.34 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 8.155e-05/4.323, allocations: 18.17 kB / 1.59 GB, free: 87.34 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/4.323, allocations: 42.31 kB / 1.59 GB, free: 87.29 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=61): time 2.665e-06/4.323, allocations: 0 / 1.59 GB, free: 87.29 MB / 0.5108 GB Notification: Performance of matching and sorting (n=67): time 0.007529/4.331, allocations: 2.281 MB / 1.593 GB, free: 85.88 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.604e-05/4.331, allocations: 114.8 kB / 1.593 GB, free: 85.75 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005532/4.331, allocations: 378.5 kB / 1.593 GB, free: 85.53 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 7.567e-05/4.331, allocations: 25.7 kB / 1.593 GB, free: 85.5 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003014/4.332, allocations: 388.1 kB / 1.594 GB, free: 85.16 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/4.332, allocations: 223.9 kB / 1.594 GB, free: 84.96 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-05/4.332, allocations: 2.297 kB / 1.594 GB, free: 84.96 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 0.000176/4.332, allocations: 371.9 kB / 1.594 GB, free: 84.61 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000472/4.333, allocations: 309.2 kB / 1.594 GB, free: 84.46 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005345/4.333, allocations: 401.3 kB / 1.595 GB, free: 84.21 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006685/4.334, allocations: 355.6 kB / 1.595 GB, free: 84.03 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/4.334, allocations: 3.953 kB / 1.595 GB, free: 84.02 MB / 0.5108 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002296/4.336, allocations: 1.138 MB / 1.596 GB, free: 83.47 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002812/4.337, allocations: 0.7908 MB / 1.597 GB, free: 82.64 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/4.337, allocations: 3.906 kB / 1.597 GB, free: 82.64 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002673/4.339, allocations: 0.742 MB / 1.598 GB, free: 82.33 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005189/4.34, allocations: 120 kB / 1.598 GB, free: 82.3 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002265/4.342, allocations: 1.511 MB / 1.599 GB, free: 81.27 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/4.343, allocations: 101.5 kB / 1.599 GB, free: 81.24 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001543/4.343, allocations: 45.55 kB / 1.599 GB, free: 81.22 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/4.343, allocations: 3.906 kB / 1.599 GB, free: 81.22 MB / 0.5108 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002087/4.345, allocations: 0.8723 MB / 1.6 GB, free: 80.81 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/4.346, allocations: 6.078 kB / 1.6 GB, free: 80.81 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001471/4.347, allocations: 420.9 kB / 1.601 GB, free: 80.63 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007071/4.348, allocations: 169.9 kB / 1.601 GB, free: 80.59 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001737/4.349, allocations: 2.23 MB / 1.603 GB, free: 78.6 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009148/4.35, allocations: 104.4 kB / 1.603 GB, free: 78.56 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-05/4.35, allocations: 33.86 kB / 1.603 GB, free: 78.55 MB / 0.5108 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.0003626/4.351, allocations: 120.8 kB / 1.603 GB, free: 78.43 MB / 0.5108 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001552/4.352, allocations: 0.7313 MB / 1.604 GB, free: 78.05 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000268/4.353, allocations: 71.17 kB / 1.604 GB, free: 78.02 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00198/4.355, allocations: 0.8672 MB / 1.605 GB, free: 77.54 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/4.355, allocations: 13.59 kB / 1.605 GB, free: 77.53 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/4.355, allocations: 0 / 1.605 GB, free: 77.53 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/4.355, allocations: 3.984 kB / 1.605 GB, free: 77.53 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003517/4.358, allocations: 1.805 MB / 1.607 GB, free: 76.31 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/4.358, allocations: 0 / 1.607 GB, free: 76.31 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009129/4.359, allocations: 170.3 kB / 1.607 GB, free: 76.27 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009972/4.36, allocations: 269 kB / 1.607 GB, free: 76.13 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.598e-05/4.36, allocations: 16.67 kB / 1.607 GB, free: 76.12 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002094/4.362, allocations: 2.72 MB / 1.61 GB, free: 73.52 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/4.362, allocations: 0 / 1.61 GB, free: 73.52 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002096/4.365, allocations: 1.293 MB / 1.611 GB, free: 72.74 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003425/4.365, allocations: 143.7 kB / 1.611 GB, free: 72.6 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001701/4.365, allocations: 7.891 kB / 1.611 GB, free: 72.6 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/4.366, allocations: 84.31 kB / 1.611 GB, free: 72.57 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/4.366, allocations: 55.02 kB / 1.611 GB, free: 72.54 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001673/4.367, allocations: 50.53 kB / 1.611 GB, free: 72.51 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0004361/4.367, allocations: 287.9 kB / 1.612 GB, free: 72.34 MB / 0.5108 GB Notification: Performance of sort global known variables: time 1.21e-07/4.367, allocations: 7.938 kB / 1.612 GB, free: 72.33 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.002654/4.37, allocations: 0.5291 MB / 1.612 GB, free: 72.12 MB / 0.5108 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.004677/4.374, allocations: 3.227 MB / 1.615 GB, free: 69 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.003468/4.378, allocations: 1.33 MB / 1.617 GB, free: 67.68 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/4.378, allocations: 0.7812 kB / 1.617 GB, free: 67.68 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.001045/4.379, allocations: 0.5158 MB / 1.617 GB, free: 67.15 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002337/4.381, allocations: 303.7 kB / 1.617 GB, free: 66.86 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004614/4.386, allocations: 1.507 MB / 1.619 GB, free: 65.31 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006835/4.387, allocations: 1.011 MB / 1.62 GB, free: 64.27 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.001135/4.388, allocations: 168.4 kB / 1.62 GB, free: 64.11 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000486/4.388, allocations: 307.3 kB / 1.62 GB, free: 63.81 MB / 0.5108 GB Notification: Performance of SimCode: time 1.313e-06/4.388, allocations: 0 / 1.62 GB, free: 63.81 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08463/4.473, allocations: 33.94 MB / 1.653 GB, free: 30.04 MB / 0.5108 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002098/4.473, allocations: 125.4 kB / 1.654 GB, free: 29.85 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.692/8.166, allocations: 0 / 1.654 GB, free: 29.85 MB / 0.5108 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)