Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8444/0.8444, allocations: 141.8 MB / 149.3 MB, free: 9.215 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 180.8 kB / 182.2 MB, free: 9.438 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 221.5 MB / 436.4 MB, free: 13.36 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.001001/0.001001, allocations: 96.05 kB / 0.5074 GB, free: 10.19 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002076/0.002076, allocations: 272.6 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 4.087e-05/4.077e-05, allocations: 4 kB / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4871/0.4872, allocations: 82.78 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.037/5.524, allocations: 1.889 GB / 2.646 GB, free: 169.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/5.525, allocations: 91.94 kB / 2.646 GB, free: 169.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.946/7.471, allocations: 482.1 MB / 3.117 GB, free: 153 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.743e-06/7.471, allocations: 0 / 3.117 GB, free: 153 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.269e-05/7.471, allocations: 25.94 kB / 3.117 GB, free: 153 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.002052/7.473, allocations: 0.9923 MB / 3.118 GB, free: 152.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/7.473, allocations: 7.781 kB / 3.118 GB, free: 152.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001308/7.474, allocations: 203.1 kB / 3.118 GB, free: 152.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002036/7.476, allocations: 0.9018 MB / 3.119 GB, free: 152.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/7.476, allocations: 18.62 kB / 3.119 GB, free: 152.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.469e-05/7.476, allocations: 35.62 kB / 3.119 GB, free: 152.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007257/7.477, allocations: 435.4 kB / 3.119 GB, free: 152.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007967/7.478, allocations: 0.5099 MB / 3.12 GB, free: 152.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/7.478, allocations: 3.969 kB / 3.12 GB, free: 152.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.651e-05/7.478, allocations: 0 / 3.12 GB, free: 152.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.647e-05/7.478, allocations: 17.19 kB / 3.12 GB, free: 152.2 MB / 0.698 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.002604/7.481, allocations: 2.283 MB / 3.122 GB, free: 151 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004382/7.481, allocations: 316.1 kB / 3.122 GB, free: 150.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002381/7.481, allocations: 195.3 kB / 3.123 GB, free: 150.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004793/7.482, allocations: 306.2 kB / 3.123 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/7.482, allocations: 33.5 kB / 3.123 GB, free: 150.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 2.374e-06/7.482, allocations: 0 / 3.123 GB, free: 150.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=36): time 0.0009814/7.483, allocations: 423.1 kB / 3.123 GB, free: 150.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/7.483, allocations: 55.12 kB / 3.123 GB, free: 150.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003846/7.483, allocations: 363.9 kB / 3.124 GB, free: 150.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.724e-05/7.483, allocations: 25.7 kB / 3.124 GB, free: 150.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/7.484, allocations: 316.7 kB / 3.124 GB, free: 150.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/7.484, allocations: 128 kB / 3.124 GB, free: 150.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-05/7.484, allocations: 0 / 3.124 GB, free: 150.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001041/7.484, allocations: 365.5 kB / 3.125 GB, free: 149.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/7.484, allocations: 129.5 kB / 3.125 GB, free: 149.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000273/7.484, allocations: 271.9 kB / 3.125 GB, free: 149.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003393/7.485, allocations: 202 kB / 3.125 GB, free: 149.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/7.485, allocations: 3.781 kB / 3.125 GB, free: 149.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006871/7.485, allocations: 460.2 kB / 3.126 GB, free: 149.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002087/7.486, allocations: 0.8813 MB / 3.126 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/7.486, allocations: 3.875 kB / 3.126 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/7.486, allocations: 3.875 kB / 3.126 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005677/7.486, allocations: 102.8 kB / 3.127 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003047/7.487, allocations: 0.5917 MB / 3.127 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006168/7.487, allocations: 56.84 kB / 3.127 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.898e-05/7.487, allocations: 21.62 kB / 3.127 GB, free: 148.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/7.487, allocations: 6.562 kB / 3.127 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000605/7.488, allocations: 378 kB / 3.128 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/7.488, allocations: 3.938 kB / 3.128 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.013e-06/7.488, allocations: 7.281 kB / 3.128 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003655/7.488, allocations: 87.36 kB / 3.128 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/7.488, allocations: 9.688 kB / 3.128 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005006/7.489, allocations: 49.28 kB / 3.128 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.643e-05/7.489, allocations: 22.55 kB / 3.128 GB, free: 148.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * 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: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001288/7.489, allocations: 114.3 kB / 3.128 GB, free: 148 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005809/7.49, allocations: 381.3 kB / 3.128 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.201e-05/7.49, allocations: 55.7 kB / 3.128 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006958/7.49, allocations: 413.6 kB / 3.129 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/7.49, allocations: 3.594 kB / 3.129 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/7.49, allocations: 3.875 kB / 3.129 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004957/7.491, allocations: 0.6465 MB / 3.129 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/7.492, allocations: 1.103 MB / 3.13 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/7.492, allocations: 3.969 kB / 3.13 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004732/7.493, allocations: 99.2 kB / 3.13 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/7.493, allocations: 3.781 kB / 3.13 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/7.493, allocations: 3.781 kB / 3.13 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002015/7.493, allocations: 0.6003 MB / 3.131 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/7.493, allocations: 3.938 kB / 3.131 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008064/7.494, allocations: 0.7773 MB / 3.132 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002077/7.494, allocations: 181.9 kB / 3.132 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.044e-05/7.494, allocations: 7.469 kB / 3.132 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004274/7.495, allocations: 39.62 kB / 3.132 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/7.495, allocations: 22.41 kB / 3.132 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/7.495, allocations: 18.41 kB / 3.132 GB, free: 146 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002846/7.495, allocations: 276.8 kB / 3.132 GB, free: 145.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.91e-07/7.495, allocations: 0 / 3.132 GB, free: 145.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001312/7.496, allocations: 431.9 kB / 3.133 GB, free: 145.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senMasFra1.X) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.003437/7.5, allocations: 3.281 MB / 3.136 GB, free: 144.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00117/7.501, allocations: 0.5482 MB / 3.136 GB, free: 144.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/7.501, allocations: 0 / 3.136 GB, free: 144.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002524/7.501, allocations: 172.1 kB / 3.137 GB, free: 144.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00161/7.503, allocations: 300.3 kB / 3.137 GB, free: 144.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/7.505, allocations: 1.195 MB / 3.138 GB, free: 143.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/7.506, allocations: 0.9585 MB / 3.139 GB, free: 143.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008381/7.507, allocations: 237.5 kB / 3.139 GB, free: 143.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002709/7.507, allocations: 210.9 kB / 3.139 GB, free: 143.1 MB / 0.698 GB Notification: Performance of SimCode: time 4.61e-07/7.507, allocations: 0 / 3.139 GB, free: 143.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05265/7.56, allocations: 25.97 MB / 3.165 GB, free: 142.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001747/7.56, allocations: 175.2 kB / 3.165 GB, free: 142 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.38/10.94, allocations: 3.828 kB / 3.165 GB, free: 142 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MassFraction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MassFraction.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)