Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 173.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8041/0.8041, allocations: 133.6 MB / 141.6 MB, free: 2.895 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 221.5 MB / 395.4 MB, free: 10.75 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.0009476/0.0009475, allocations: 98.61 kB / 478.2 MB, free: 1.293 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.86e-05/2.857e-05, allocations: 4 kB / 0.5535 GB, free: 8.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4813/0.4813, allocations: 82.3 MB / 0.6339 GB, free: 40.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.7/5.182, allocations: 1.891 GB / 2.525 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003549/5.182, allocations: 87.14 kB / 2.525 GB, free: 106 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.975/7.157, allocations: 482.2 MB / 2.996 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.054e-06/7.157, allocations: 0 / 2.996 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.076e-05/7.157, allocations: 22.84 kB / 2.996 GB, free: 155.2 MB / 0.6823 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.002642/7.16, allocations: 0.9876 MB / 2.997 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/7.16, allocations: 11.12 kB / 2.997 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001615/7.162, allocations: 208 kB / 2.997 GB, free: 154.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002648/7.164, allocations: 0.905 MB / 2.998 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.904e-05/7.164, allocations: 16.94 kB / 2.998 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/7.165, allocations: 38.41 kB / 2.998 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000883/7.166, allocations: 431.8 kB / 2.999 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009951/7.167, allocations: 0.5165 MB / 2.999 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/7.167, allocations: 7.812 kB / 2.999 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.098e-05/7.167, allocations: 3.938 kB / 2.999 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-05/7.167, allocations: 21.44 kB / 2.999 GB, free: 154.3 MB / 0.6823 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.003412/7.17, allocations: 2.274 MB / 3.001 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004554/7.171, allocations: 308 kB / 3.002 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002437/7.171, allocations: 196.5 kB / 3.002 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005101/7.171, allocations: 301.9 kB / 3.002 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/7.171, allocations: 34.52 kB / 3.002 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 3.035e-06/7.171, allocations: 3.781 kB / 3.002 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36): time 0.001089/7.172, allocations: 418.2 kB / 3.003 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/7.173, allocations: 58.08 kB / 3.003 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004456/7.173, allocations: 368.6 kB / 3.003 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.032e-05/7.173, allocations: 25.7 kB / 3.003 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/7.173, allocations: 324 kB / 3.003 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000121/7.173, allocations: 121.1 kB / 3.003 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.913e-05/7.173, allocations: 0 / 3.003 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001299/7.174, allocations: 363.8 kB / 3.004 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/7.174, allocations: 130.2 kB / 3.004 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003/7.174, allocations: 261.6 kB / 3.004 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003828/7.174, allocations: 209.1 kB / 3.004 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/7.174, allocations: 0 / 3.004 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007441/7.175, allocations: 460.7 kB / 3.005 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000244/7.175, allocations: 0.8793 MB / 3.006 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/7.176, allocations: 7.906 kB / 3.006 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.62e-05/7.176, allocations: 3.75 kB / 3.006 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005938/7.176, allocations: 105.3 kB / 3.006 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003821/7.177, allocations: 0.59 MB / 3.006 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006896/7.177, allocations: 57.39 kB / 3.006 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.457e-05/7.177, allocations: 21.12 kB / 3.006 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/7.177, allocations: 3.75 kB / 3.006 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005969/7.178, allocations: 380.9 kB / 3.007 GB, free: 149 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/7.178, allocations: 0 / 3.007 GB, free: 149 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/7.178, allocations: 8.781 kB / 3.007 GB, free: 149 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000329/7.178, allocations: 84.91 kB / 3.007 GB, free: 149 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/7.178, allocations: 7.703 kB / 3.007 GB, free: 149 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006038/7.179, allocations: 49.88 kB / 3.007 GB, free: 149 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.768e-05/7.179, allocations: 18.03 kB / 3.007 GB, free: 149 MB / 0.6823 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.0001459/7.179, allocations: 120.6 kB / 3.007 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006057/7.18, allocations: 390 kB / 3.007 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.674e-05/7.18, allocations: 51.44 kB / 3.008 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006912/7.181, allocations: 409.6 kB / 3.008 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/7.181, allocations: 3.906 kB / 3.008 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/7.181, allocations: 0 / 3.008 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005073/7.181, allocations: 0.6538 MB / 3.009 GB, free: 148 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/7.183, allocations: 1.109 MB / 3.01 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/7.183, allocations: 0 / 3.01 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004745/7.183, allocations: 96.67 kB / 3.01 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-05/7.183, allocations: 7.328 kB / 3.01 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.92e-05/7.183, allocations: 6.625 kB / 3.01 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002543/7.184, allocations: 0.5957 MB / 3.01 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/7.184, allocations: 3.375 kB / 3.01 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008571/7.184, allocations: 0.7924 MB / 3.011 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002766/7.185, allocations: 173.1 kB / 3.011 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.177e-05/7.185, allocations: 3.844 kB / 3.011 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004451/7.185, allocations: 32.27 kB / 3.011 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.338e-05/7.185, allocations: 39.23 kB / 3.011 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.603e-05/7.185, allocations: 7.5 kB / 3.011 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000325/7.186, allocations: 283.1 kB / 3.012 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/7.186, allocations: 3.938 kB / 3.012 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001426/7.187, allocations: 433.6 kB / 3.012 GB, free: 145.8 MB / 0.6823 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.003401/7.191, allocations: 3.272 MB / 3.015 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00112/7.192, allocations: 0.5359 MB / 3.016 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/7.192, allocations: 0 / 3.016 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002512/7.192, allocations: 174.1 kB / 3.016 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001591/7.194, allocations: 309.1 kB / 3.016 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/7.196, allocations: 1.197 MB / 3.017 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/7.196, allocations: 0.965 MB / 3.018 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008218/7.197, allocations: 232.7 kB / 3.019 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002713/7.197, allocations: 214.3 kB / 3.019 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of SimCode: time 1.412e-06/7.197, allocations: 0 / 3.019 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05101/7.248, allocations: 26.01 MB / 3.044 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002124/7.249, allocations: 150.9 kB / 3.044 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.121/10.37, allocations: 0 / 3.044 GB, free: 117.5 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_MassFraction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_MassFraction.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)