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: translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction") translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 105.8 kB / 16.37 MB, free: 6.312 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.001896/0.001896, allocations: 187.4 kB / 17.3 MB, free: 5.871 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.286/1.286, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.741/1.741, allocations: 292.3 MB / 0.5496 GB, free: 17.39 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.002601/0.002601, allocations: 67.91 kB / 0.6729 GB, free: 5.793 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2115, allocations: 114.6 MB / 0.7848 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.5002/0.7118, allocations: 186.8 MB / 0.9672 GB, free: 15.17 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.006795/0.7186, allocations: 4.526 MB / 0.9716 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006033/0.7192, allocations: 27.81 kB / 0.9717 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.7203, allocations: 405.5 kB / 0.972 GB, free: 10.21 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.002808/0.7231, allocations: 1.342 MB / 0.9733 GB, free: 8.863 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001696/0.7248, allocations: 0.7491 MB / 0.9741 GB, free: 8.121 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.002046/0.7269, allocations: 1.946 MB / 0.976 GB, free: 6.172 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007795/0.7276, allocations: 0.6554 MB / 0.9766 GB, free: 5.5 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002354/0.73, allocations: 1.077 MB / 0.9777 GB, free: 4.434 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008242/0.7309, allocations: 0.5948 MB / 0.9783 GB, free: 3.844 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.411e-05/0.731, allocations: 64 kB / 0.9783 GB, free: 3.781 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002266/0.7332, allocations: 1.38 MB / 0.9797 GB, free: 2.398 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0002871/0.7335, allocations: 287.2 kB / 0.9799 GB, free: 2.117 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0004172/0.734, allocations: 410.2 kB / 0.9803 GB, free: 1.715 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.001785/0.7357, allocations: 1.476 MB / 0.9818 GB, free: 240 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.7358, allocations: 9.391 kB / 0.9818 GB, free: 232 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7358, allocations: 0 / 0.9818 GB, free: 232 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.7358, allocations: 0 / 0.9818 GB, free: 232 kB / 0.7637 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.001496/0.7373, allocations: 1.093 MB / 0.9828 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.7373, allocations: 8.031 kB / 0.9829 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001248/0.7386, allocations: 198.9 kB / 0.983 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009151/0.7395, allocations: 0.6028 MB / 0.9836 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.669e-05/0.7396, allocations: 41.31 kB / 0.9837 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.069e-05/0.7397, allocations: 59.94 kB / 0.9837 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009536/0.7406, allocations: 0.6244 MB / 0.9843 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.7407, allocations: 0 / 0.9843 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.072e-05/0.7407, allocations: 20 kB / 0.9844 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.808e-05/0.7407, allocations: 21.31 kB / 0.9844 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000779/0.7415, allocations: 0.4931 MB / 0.9849 GB, free: 12.96 MB / 0.7794 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.002723/0.7443, allocations: 2.384 MB / 0.9872 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005332/0.7448, allocations: 355.5 kB / 0.9875 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002923/0.7451, allocations: 216 kB / 0.9877 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005763/0.7457, allocations: 311.1 kB / 0.988 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.7457, allocations: 41.05 kB / 0.9881 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=36): time 2.003e-06/0.7458, allocations: 4 kB / 0.9881 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36): time 0.001085/0.7468, allocations: 0.5347 MB / 0.9886 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.7469, allocations: 63.39 kB / 0.9887 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005298/0.7474, allocations: 0.4988 MB / 0.9891 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.23e-05/0.7475, allocations: 37.7 kB / 0.9892 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002177/0.7477, allocations: 316.5 kB / 0.9895 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.867e-05/0.7478, allocations: 122.2 kB / 0.9896 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.7479, allocations: 86.03 kB / 0.9897 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.7481, allocations: 370.8 kB / 0.99 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002383/0.7483, allocations: 146.5 kB / 0.9902 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003194/0.7487, allocations: 260.6 kB / 0.9904 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005546/0.7492, allocations: 414.1 kB / 0.9908 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.7492, allocations: 4 kB / 0.9908 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007256/0.75, allocations: 480.5 kB / 0.9913 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.75, allocations: 4 kB / 0.9913 GB, free: 5.973 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.75, allocations: 7.938 kB / 0.9913 GB, free: 5.965 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.75, allocations: 7.984 kB / 0.9913 GB, free: 5.957 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005679/0.7506, allocations: 96.17 kB / 0.9914 GB, free: 5.863 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003353/0.751, allocations: 0.6015 MB / 0.992 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005313/0.7515, allocations: 44.45 kB / 0.992 GB, free: 5.195 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.743e-05/0.7516, allocations: 23.09 kB / 0.992 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004114/0.752, allocations: 324.9 kB / 0.9923 GB, free: 4.855 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003068/0.7523, allocations: 260.4 kB / 0.9926 GB, free: 4.562 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005203/0.7528, allocations: 412.5 kB / 0.993 GB, free: 4.129 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.633e-06/0.7528, allocations: 0 / 0.993 GB, free: 4.129 MB / 0.7794 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007046/0.7535, allocations: 486 kB / 0.9935 GB, free: 3.648 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.7536, allocations: 11.94 kB / 0.9935 GB, free: 3.637 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-06/0.7536, allocations: 0 / 0.9935 GB, free: 3.637 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.31e-06/0.7536, allocations: 4 kB / 0.9935 GB, free: 3.633 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003519/0.7539, allocations: 87.91 kB / 0.9936 GB, free: 3.547 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.862e-06/0.754, allocations: 7.938 kB / 0.9936 GB, free: 3.539 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004477/0.7544, allocations: 40.02 kB / 0.9936 GB, free: 3.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.051e-05/0.7544, allocations: 12 kB / 0.9936 GB, free: 3.488 MB / 0.7794 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.0001494/0.7546, allocations: 208.1 kB / 0.9938 GB, free: 3.277 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.7547, allocations: 68.31 kB / 0.9939 GB, free: 3.211 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007187/0.7554, allocations: 443.6 kB / 0.9943 GB, free: 2.766 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006159/0.7561, allocations: 0.6518 MB / 0.9949 GB, free: 2.027 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.7561, allocations: 0 / 0.9949 GB, free: 2.027 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002258/0.7563, allocations: 176.3 kB / 0.9951 GB, free: 1.836 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.384e-05/0.7564, allocations: 9.375 kB / 0.9951 GB, free: 1.828 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003216/0.7567, allocations: 11.98 kB / 0.9951 GB, free: 1.816 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.816e-05/0.7568, allocations: 19.97 kB / 0.9951 GB, free: 1.797 MB / 0.7794 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009806/0.7578, allocations: 0.5057 MB / 0.9956 GB, free: 1.281 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008939/0.7587, allocations: 0.7791 MB / 0.9964 GB, free: 496 kB / 0.7794 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002273/0.7589, allocations: 164 kB / 0.9966 GB, free: 332 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003944/0.7593, allocations: 354.8 kB / 0.9969 GB, free: 15.98 MB / 0.795 GB Notification: Performance of Backend: time 8.01e-07/0.7593, allocations: 3.938 kB / 0.9969 GB, free: 15.98 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002107/0.7614, allocations: 0.8223 MB / 0.9977 GB, free: 15.16 MB / 0.795 GB Notification: Performance of SimCode: time 0.002813/0.7643, allocations: 1.901 MB / 0.9996 GB, free: 13.25 MB / 0.795 GB Notification: Performance of Templates: time 0.02326/0.7875, allocations: 15.54 MB / 1.015 GB, free: 13.98 MB / 0.8106 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (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 & ./Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)