Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.conf.json 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/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000925/0.000925, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005402/0.005402, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.725/1.725, allocations: 292.7 MB / 0.5502 GB, free: 14.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005643/0.0005643, allocations: 15.16 kB / 0.6744 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2421, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.7736/1.016, allocations: 182.1 MB / 0.9658 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009124/1.025, allocations: 4.549 MB / 0.9703 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001094/1.026, allocations: 25.16 kB / 0.9703 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001205/1.027, allocations: 346.9 kB / 0.9706 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003671/1.031, allocations: 1.262 MB / 0.9719 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002286/1.033, allocations: 0.672 MB / 0.9725 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00336/1.037, allocations: 2.74 MB / 0.9752 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001064/1.038, allocations: 0.5332 MB / 0.9757 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003297/1.041, allocations: 0.9415 MB / 0.9766 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001358/1.042, allocations: 0.5928 MB / 0.9772 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001374/1.043, allocations: 28.59 kB / 0.9773 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002957/1.046, allocations: 1.549 MB / 0.9788 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003817/1.046, allocations: 246.4 kB / 0.979 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006544/1.047, allocations: 393 kB / 0.9794 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002247/1.049, allocations: 1.488 MB / 0.9808 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/1.049, allocations: 0 / 0.9808 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.303e-06/1.049, allocations: 3.344 kB / 0.9808 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.34e-05/1.049, allocations: 0 / 0.9808 GB, free: 12.81 MB / 0.7325 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.001555/1.05, allocations: 0.9565 MB / 0.9818 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/1.05, allocations: 9.469 kB / 0.9818 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001257/1.051, allocations: 93.7 kB / 0.9819 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001311/1.052, allocations: 204.4 kB / 0.9821 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008926/1.053, allocations: 0.5757 MB / 0.9826 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/1.053, allocations: 42.94 kB / 0.9827 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.778e-05/1.053, allocations: 55.66 kB / 0.9827 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009032/1.054, allocations: 0.6234 MB / 0.9833 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/1.054, allocations: 3.938 kB / 0.9833 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.939e-05/1.054, allocations: 24.44 kB / 0.9833 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.516e-05/1.054, allocations: 21.14 kB / 0.9834 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007057/1.055, allocations: 0.4918 MB / 0.9838 GB, free: 11.28 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.002923/1.058, allocations: 2.385 MB / 0.9862 GB, free: 9.273 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005229/1.058, allocations: 357.1 kB / 0.9865 GB, free: 9.086 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003009/1.058, allocations: 213.5 kB / 0.9867 GB, free: 8.98 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005715/1.059, allocations: 329 kB / 0.987 GB, free: 8.664 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/1.059, allocations: 37.41 kB / 0.9871 GB, free: 8.621 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=36): time 1.693e-06/1.059, allocations: 0 / 0.9871 GB, free: 8.621 MB / 0.7325 GB Notification: Performance of matching and sorting (n=36): time 0.001075/1.06, allocations: 0.5374 MB / 0.9876 GB, free: 8.355 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/1.06, allocations: 62.34 kB / 0.9877 GB, free: 8.285 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006104/1.061, allocations: 0.4952 MB / 0.9881 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.366e-05/1.061, allocations: 36.61 kB / 0.9882 GB, free: 7.945 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002202/1.061, allocations: 319.1 kB / 0.9885 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000113/1.061, allocations: 124.7 kB / 0.9886 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.765e-05/1.061, allocations: 36.45 kB / 0.9886 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000144/1.061, allocations: 368.8 kB / 0.989 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002286/1.062, allocations: 150.5 kB / 0.9891 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003131/1.062, allocations: 267.6 kB / 0.9894 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005297/1.063, allocations: 407.6 kB / 0.9898 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.063, allocations: 0 / 0.9898 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007226/1.063, allocations: 488.1 kB / 0.9902 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001538/1.063, allocations: 157.6 kB / 0.9904 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/1.064, allocations: 5.094 kB / 0.9904 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/1.064, allocations: 2.938 kB / 0.9904 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005944/1.064, allocations: 105.1 kB / 0.9905 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004072/1.065, allocations: 0.5923 MB / 0.9911 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006431/1.065, allocations: 67.44 kB / 0.9911 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.294e-05/1.065, allocations: 21.8 kB / 0.9912 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.757e-06/1.065, allocations: 2.875 kB / 0.9912 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006115/1.066, allocations: 406.1 kB / 0.9915 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/1.066, allocations: 7.062 kB / 0.9916 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/1.066, allocations: 10.69 kB / 0.9916 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003306/1.066, allocations: 84.88 kB / 0.9916 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/1.066, allocations: 11.36 kB / 0.9917 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006116/1.067, allocations: 63.59 kB / 0.9917 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/1.067, allocations: 12.06 kB / 0.9917 GB, free: 5.273 MB / 0.7325 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 () * Number of clocked 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003691/1.067, allocations: 306.7 kB / 0.992 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/1.067, allocations: 62.91 kB / 0.9921 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000721/1.068, allocations: 441.5 kB / 0.9925 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/1.068, allocations: 6.5 kB / 0.9925 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.068, allocations: 2.938 kB / 0.9925 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006372/1.069, allocations: 0.651 MB / 0.9931 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/1.071, allocations: 1.211 MB / 0.9943 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/1.071, allocations: 2.969 kB / 0.9943 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004405/1.071, allocations: 91 kB / 0.9944 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/1.071, allocations: 2.844 kB / 0.9944 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.501e-05/1.071, allocations: 14.84 kB / 0.9944 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000299/1.071, allocations: 0.6025 MB / 0.995 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.071, allocations: 2.906 kB / 0.995 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008891/1.072, allocations: 0.7376 MB / 0.9957 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002828/1.073, allocations: 174.1 kB / 0.9959 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.973e-05/1.073, allocations: 13.06 kB / 0.9959 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004828/1.073, allocations: 43.03 kB / 0.996 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.39e-05/1.073, allocations: 26.5 kB / 0.996 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.714e-05/1.073, allocations: 18.89 kB / 0.996 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004062/1.074, allocations: 354.2 kB / 0.9963 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/1.074, allocations: 0 / 0.9963 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009158/1.075, allocations: 345.4 kB / 0.9967 GB, free: 1.633 MB / 0.7325 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 () * Number of clocked 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001599/1.076, allocations: 1.382 MB / 0.998 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001105/1.077, allocations: 0.5788 MB / 0.9986 GB, free: 312 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.077, allocations: 1.125 kB / 0.9986 GB, free: 312 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002935/1.078, allocations: 188.6 kB / 0.9988 GB, free: 228 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001989/1.08, allocations: 357.9 kB / 0.9991 GB, free: 48 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006579/1.086, allocations: 5.235 MB / 1.004 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005715/1.087, allocations: 0.9435 MB / 1.005 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007532/1.088, allocations: 205.2 kB / 1.005 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003327/1.088, allocations: 222 kB / 1.006 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of SimCode: time 9.32e-07/1.088, allocations: 0 / 1.006 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0315/1.12, allocations: 16.26 MB / 1.021 GB, free: 3.535 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/1.12, allocations: 262.8 kB / 1.022 GB, free: 3.199 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.166/3.286, allocations: 0 / 1.022 GB, free: 3.199 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_MassFraction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_MassFraction.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)