Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.MassFraction") translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.082/2.082, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001301/0.001301, allocations: 181.6 kB / 326.3 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.238/2.238, allocations: 205.4 MB / 0.5772 GB, free: 20.83 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.0009089/0.0009088, allocations: 84.06 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004664/0.0004666, allocations: 15.88 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1895, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.9017/1.091, allocations: 170.1 MB / 1.066 GB, free: 4.34 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01257/1.104, allocations: 4.33 MB / 1.07 GB, free: 4.258 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001596/1.106, allocations: 24.66 kB / 1.07 GB, free: 4.254 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001877/1.108, allocations: 279 kB / 1.07 GB, free: 4.25 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005444/1.113, allocations: 1.005 MB / 1.071 GB, free: 4.203 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003536/1.117, allocations: 0.5941 MB / 1.072 GB, free: 4.184 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004619/1.121, allocations: 2.373 MB / 1.074 GB, free: 4.18 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001484/1.123, allocations: 0.5155 MB / 1.075 GB, free: 4.109 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003183/1.126, allocations: 0.8745 MB / 1.075 GB, free: 4.098 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001609/1.128, allocations: 0.5609 MB / 1.076 GB, free: 4.098 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001856/1.128, allocations: 28.44 kB / 1.076 GB, free: 4.098 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00331/1.131, allocations: 0.8735 MB / 1.077 GB, free: 4.082 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006004/1.132, allocations: 249 kB / 1.077 GB, free: 4.082 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000694/1.133, allocations: 175.6 kB / 1.077 GB, free: 20.05 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00251/1.135, allocations: 1.023 MB / 1.078 GB, free: 19.96 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/1.135, allocations: 0.6562 kB / 1.078 GB, free: 19.96 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.358e-06/1.135, allocations: 0.7812 kB / 1.078 GB, free: 19.96 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.233e-05/1.135, allocations: 0 / 1.078 GB, free: 19.96 MB / 0.7136 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.003371/1.139, allocations: 0.9574 MB / 1.079 GB, free: 19.32 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.164e-05/1.139, allocations: 8.625 kB / 1.079 GB, free: 19.32 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003055/1.142, allocations: 203.3 kB / 1.079 GB, free: 19.29 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002368/1.144, allocations: 0.5602 MB / 1.08 GB, free: 19.02 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.755e-05/1.144, allocations: 39.69 kB / 1.08 GB, free: 19.02 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002589/1.145, allocations: 56.19 kB / 1.08 GB, free: 19.02 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002481/1.147, allocations: 0.6195 MB / 1.081 GB, free: 18.95 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.43e-05/1.147, allocations: 4.5 kB / 1.081 GB, free: 18.95 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/1.147, allocations: 19.88 kB / 1.081 GB, free: 18.95 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-05/1.147, allocations: 20 kB / 1.081 GB, free: 18.95 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002019/1.149, allocations: 0.4948 MB / 1.081 GB, free: 18.93 MB / 0.7136 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.006848/1.156, allocations: 2.413 MB / 1.083 GB, free: 17.62 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/1.158, allocations: 349.4 kB / 1.084 GB, free: 17.59 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006939/1.158, allocations: 205.4 kB / 1.084 GB, free: 17.58 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001285/1.16, allocations: 321.5 kB / 1.084 GB, free: 17.3 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.548e-05/1.16, allocations: 36.75 kB / 1.084 GB, free: 17.26 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=36): time 5.32e-06/1.16, allocations: 0 / 1.084 GB, free: 17.26 MB / 0.7136 GB Notification: Performance of matching and sorting (n=36): time 0.002611/1.162, allocations: 0.5382 MB / 1.085 GB, free: 17.19 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.185e-05/1.162, allocations: 55.47 kB / 1.085 GB, free: 17.13 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/1.164, allocations: 499.6 kB / 1.085 GB, free: 17.01 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001516/1.164, allocations: 35.27 kB / 1.085 GB, free: 16.98 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003905/1.164, allocations: 318.7 kB / 1.086 GB, free: 16.82 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002304/1.165, allocations: 127.6 kB / 1.086 GB, free: 16.74 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.442e-05/1.165, allocations: 6.594 kB / 1.086 GB, free: 16.74 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002617/1.165, allocations: 373.4 kB / 1.086 GB, free: 16.42 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004715/1.165, allocations: 142.5 kB / 1.086 GB, free: 16.42 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005638/1.166, allocations: 256.4 kB / 1.087 GB, free: 16.32 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005368/1.167, allocations: 182.2 kB / 1.087 GB, free: 16.31 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/1.167, allocations: 2.875 kB / 1.087 GB, free: 16.31 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001472/1.168, allocations: 478.3 kB / 1.087 GB, free: 16.24 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001381/1.168, allocations: 154.5 kB / 1.087 GB, free: 16.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/1.168, allocations: 0 / 1.087 GB, free: 16.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.699e-05/1.168, allocations: 5 kB / 1.087 GB, free: 16.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/1.17, allocations: 104.1 kB / 1.087 GB, free: 16.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000653/1.17, allocations: 0.6062 MB / 1.088 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/1.172, allocations: 63 kB / 1.088 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.455e-05/1.172, allocations: 18.73 kB / 1.088 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/1.172, allocations: 5.312 kB / 1.088 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001302/1.173, allocations: 397.6 kB / 1.089 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/1.173, allocations: 7.344 kB / 1.089 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/1.173, allocations: 6.031 kB / 1.089 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007675/1.174, allocations: 87.62 kB / 1.089 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/1.174, allocations: 8.047 kB / 1.089 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/1.175, allocations: 71.47 kB / 1.089 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.037e-05/1.176, allocations: 20 kB / 1.089 GB, free: 15.41 MB / 0.7136 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 (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.0007655/1.176, allocations: 309.2 kB / 1.089 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002663/1.177, allocations: 53.38 kB / 1.089 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/1.178, allocations: 448.4 kB / 1.089 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001182/1.179, allocations: 0.6451 MB / 1.09 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/1.179, allocations: 64 / 1.09 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007807/1.18, allocations: 187.6 kB / 1.09 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002491/1.18, allocations: 7 kB / 1.09 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001384/1.182, allocations: 46.94 kB / 1.09 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/1.182, allocations: 24.56 kB / 1.09 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002567/1.184, allocations: 0.5018 MB / 1.091 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002193/1.187, allocations: 0.7751 MB / 1.092 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004916/1.187, allocations: 165.6 kB / 1.092 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009728/1.188, allocations: 350.1 kB / 1.092 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of Backend: time 2.906e-06/1.188, allocations: 0 / 1.092 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004909/1.193, allocations: 0.7926 MB / 1.093 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of SimCode: time 0.008113/1.201, allocations: 2.244 MB / 1.095 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of Templates: time 0.05792/1.259, allocations: 14.59 MB / 1.109 GB, free: 10.07 MB / 0.7136 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)