Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.546/1.546, allocations: 249.3 MB / 261.8 MB, free: 5.902 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001093/0.001094, allocations: 178.1 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.579/1.579, allocations: 205.1 MB / 0.572 GB, free: 10.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007898/0.0007899, allocations: 79.12 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.672e-05/3.683e-05, allocations: 4 kB / 0.788 GB, free: 96.98 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2008, allocations: 106.3 MB / 0.8919 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.793/5.994, allocations: 2.202 GB / 3.093 GB, free: 127.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003512/5.995, allocations: 83.14 kB / 3.094 GB, free: 127.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.492/7.487, allocations: 468.2 MB / 3.551 GB, free: 1.145 MB / 0.8698 GB Notification: Performance of FrontEnd: time 9.72e-07/7.487, allocations: 0 / 3.551 GB, free: 1.145 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.771e-05/7.487, allocations: 23.92 kB / 3.551 GB, free: 1.121 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001708/7.489, allocations: 0.9892 MB / 3.552 GB, free: 88 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/7.489, allocations: 12.03 kB / 3.552 GB, free: 76 kB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.5675/8.056, allocations: 92.44 kB / 3.552 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001699/8.058, allocations: 200.7 kB / 3.552 GB, free: 191.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002738/8.061, allocations: 0.8977 MB / 3.553 GB, free: 191 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.726e-05/8.061, allocations: 42.66 kB / 3.553 GB, free: 191 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/8.061, allocations: 58.34 kB / 3.553 GB, free: 191 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/8.062, allocations: 0.594 MB / 3.554 GB, free: 190.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/8.062, allocations: 0 / 3.554 GB, free: 190.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.599e-05/8.062, allocations: 27.36 kB / 3.554 GB, free: 190.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.395e-05/8.062, allocations: 19.58 kB / 3.554 GB, free: 190.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008891/8.063, allocations: 469.2 kB / 3.554 GB, free: 190.9 MB / 0.8698 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.003338/8.067, allocations: 2.401 MB / 3.557 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006057/8.067, allocations: 314.5 kB / 3.557 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004515/8.068, allocations: 198.2 kB / 3.557 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006347/8.068, allocations: 303.3 kB / 3.557 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.722e-05/8.068, allocations: 46.06 kB / 3.557 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=36): time 3.216e-06/8.068, allocations: 0 / 3.557 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=36): time 0.001317/8.07, allocations: 409.8 kB / 3.558 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/8.07, allocations: 56.58 kB / 3.558 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007801/8.071, allocations: 433.4 kB / 3.558 GB, free: 189 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.064e-05/8.071, allocations: 37.2 kB / 3.558 GB, free: 189 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003268/8.071, allocations: 312.6 kB / 3.559 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000186/8.071, allocations: 135.1 kB / 3.559 GB, free: 188.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.188e-05/8.071, allocations: 8.828 kB / 3.559 GB, free: 188.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000218/8.071, allocations: 364 kB / 3.559 GB, free: 188.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003373/8.072, allocations: 138.4 kB / 3.559 GB, free: 188.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004293/8.072, allocations: 268.2 kB / 3.559 GB, free: 188.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003888/8.073, allocations: 190.2 kB / 3.56 GB, free: 188.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/8.073, allocations: 1.281 kB / 3.56 GB, free: 188.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009141/8.074, allocations: 463.8 kB / 3.56 GB, free: 188.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002737/8.074, allocations: 0.8794 MB / 3.561 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/8.074, allocations: 3.062 kB / 3.561 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.906e-05/8.074, allocations: 8.625 kB / 3.561 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006883/8.075, allocations: 101.2 kB / 3.561 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003954/8.075, allocations: 0.6013 MB / 3.562 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008121/8.076, allocations: 69.83 kB / 3.562 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.568e-05/8.076, allocations: 19.39 kB / 3.562 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/8.076, allocations: 3 kB / 3.562 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008911/8.077, allocations: 388.3 kB / 3.562 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/8.077, allocations: 3.219 kB / 3.562 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/8.077, allocations: 4.859 kB / 3.562 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004285/8.077, allocations: 88.56 kB / 3.562 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/8.077, allocations: 6.641 kB / 3.562 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007597/8.078, allocations: 70.3 kB / 3.562 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.907e-05/8.078, allocations: 21.7 kB / 3.562 GB, free: 186.8 MB / 0.8698 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.0002015/8.078, allocations: 131.2 kB / 3.562 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/8.079, allocations: 56.72 kB / 3.562 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008814/8.079, allocations: 433.8 kB / 3.563 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/8.079, allocations: 3.312 kB / 3.563 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/8.079, allocations: 2.656 kB / 3.563 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006637/8.08, allocations: 0.6446 MB / 3.563 GB, free: 186.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002196/8.082, allocations: 1.193 MB / 3.565 GB, free: 185.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/8.082, allocations: 2.359 kB / 3.565 GB, free: 185.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004949/8.083, allocations: 95.27 kB / 3.565 GB, free: 185.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.966e-06/8.083, allocations: 7.281 kB / 3.565 GB, free: 185.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.392e-05/8.083, allocations: 13.52 kB / 3.565 GB, free: 185.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002301/8.083, allocations: 0.5907 MB / 3.565 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/8.083, allocations: 2.562 kB / 3.565 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/8.084, allocations: 0.795 MB / 3.566 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003029/8.085, allocations: 187.8 kB / 3.566 GB, free: 184.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.689e-05/8.085, allocations: 12.28 kB / 3.566 GB, free: 184.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004738/8.085, allocations: 39.09 kB / 3.566 GB, free: 184.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.754e-05/8.085, allocations: 26.84 kB / 3.566 GB, free: 184.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/8.085, allocations: 12.48 kB / 3.566 GB, free: 184.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004815/8.086, allocations: 351.6 kB / 3.567 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/8.086, allocations: 0 / 3.567 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001768/8.087, allocations: 495.2 kB / 3.567 GB, free: 184.6 MB / 0.8698 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.00344/8.091, allocations: 3.106 MB / 3.57 GB, free: 183 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001314/8.092, allocations: 0.5709 MB / 3.571 GB, free: 183 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/8.092, allocations: 1.375 kB / 3.571 GB, free: 183 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003006/8.093, allocations: 181 kB / 3.571 GB, free: 183 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001852/8.094, allocations: 363.3 kB / 3.571 GB, free: 183 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002571/8.097, allocations: 1.26 MB / 3.572 GB, free: 182.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004821/8.098, allocations: 0.9542 MB / 3.573 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0009555/8.098, allocations: 252.8 kB / 3.574 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002494/8.099, allocations: 207.7 kB / 3.574 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.062e-06/8.099, allocations: 0 / 3.574 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08498/8.184, allocations: 42.39 MB / 3.615 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001684/8.184, allocations: 217.1 kB / 3.615 GB, free: 181.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.65/11.83, allocations: 0 / 3.615 GB, free: 181.1 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_MassFraction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_MassFraction.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)