Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 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(BuildingSystems.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction") translateModel(BuildingSystems.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0007719/0.0007719, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008085/0.0008085, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001716/0.001716, allocations: 278.9 kB / 291.4 MB, free: 1.973 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9407/0.9407, allocations: 169.5 MB / 0.5 GB, free: 14.24 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004053/0.0004054, allocations: 16.91 kB / 0.598 GB, free: 28.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1407, allocations: 88.55 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MassFraction): time 0.4373/0.578, allocations: 169.9 MB / 0.8504 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006609/0.5847, allocations: 4.287 MB / 0.8546 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007188/0.5854, allocations: 21.88 kB / 0.8546 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008513/0.5863, allocations: 278.5 kB / 0.8549 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00258/0.5889, allocations: 0.9955 MB / 0.8558 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.5905, allocations: 0.5787 MB / 0.8564 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002318/0.5928, allocations: 2.306 MB / 0.8587 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000705/0.5936, allocations: 496.7 kB / 0.8591 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001758/0.5953, allocations: 0.8536 MB / 0.86 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007366/0.5961, allocations: 0.5693 MB / 0.8605 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.008e-05/0.5962, allocations: 31.88 kB / 0.8606 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001942/0.5981, allocations: 0.8629 MB / 0.8614 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000272/0.5984, allocations: 249.8 kB / 0.8616 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002028/0.5986, allocations: 168.5 kB / 0.8618 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.5997, allocations: 1.006 MB / 0.8628 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.5997, allocations: 0 / 0.8628 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5997, allocations: 4 kB / 0.8628 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.5997, allocations: 3.938 kB / 0.8628 GB, free: 5.379 MB / 0.5762 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.001342/0.6011, allocations: 0.9577 MB / 0.8637 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.6011, allocations: 8.812 kB / 0.8637 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/0.6024, allocations: 214.9 kB / 0.8639 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009519/0.6034, allocations: 0.5456 MB / 0.8645 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.171e-05/0.6034, allocations: 47.14 kB / 0.8645 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.326e-05/0.6035, allocations: 51.56 kB / 0.8646 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.6045, allocations: 0.6241 MB / 0.8652 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.6046, allocations: 0 / 0.8652 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.3e-05/0.6046, allocations: 20.66 kB / 0.8652 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.826e-05/0.6046, allocations: 18.03 kB / 0.8652 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007422/0.6054, allocations: 0.4922 MB / 0.8657 GB, free: 3.371 MB / 0.5762 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.002617/0.608, allocations: 2.403 MB / 0.868 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000564/0.6086, allocations: 354 kB / 0.8684 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002879/0.6089, allocations: 212.5 kB / 0.8686 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000532/0.6094, allocations: 319.2 kB / 0.8689 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.6095, allocations: 42.05 kB / 0.8689 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=36): time 2.154e-06/0.6095, allocations: 0 / 0.8689 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of matching and sorting (n=36): time 0.001039/0.6105, allocations: 0.5511 MB / 0.8695 GB, free: 348 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.6106, allocations: 58.28 kB / 0.8695 GB, free: 280 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005387/0.6111, allocations: 0.4913 MB / 0.87 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.905e-05/0.6112, allocations: 36.61 kB / 0.87 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/0.6114, allocations: 315.3 kB / 0.8703 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.6115, allocations: 130.7 kB / 0.8705 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.29e-05/0.6115, allocations: 10.12 kB / 0.8705 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.6117, allocations: 364.6 kB / 0.8708 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/0.6119, allocations: 140.8 kB / 0.8709 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000293/0.6122, allocations: 256.2 kB / 0.8712 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002732/0.6125, allocations: 191.7 kB / 0.8714 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.6125, allocations: 2.469 kB / 0.8714 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006644/0.6132, allocations: 483.2 kB / 0.8718 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.512e-05/0.6133, allocations: 157.8 kB / 0.872 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.6133, allocations: 2.812 kB / 0.872 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.6133, allocations: 5.062 kB / 0.872 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005299/0.6138, allocations: 104.6 kB / 0.8721 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003345/0.6142, allocations: 0.5999 MB / 0.8727 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005357/0.6147, allocations: 76.02 kB / 0.8728 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.102e-05/0.6148, allocations: 21.73 kB / 0.8728 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.342e-06/0.6148, allocations: 4.688 kB / 0.8728 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005679/0.6154, allocations: 397.7 kB / 0.8732 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.6154, allocations: 2.781 kB / 0.8732 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.649e-06/0.6154, allocations: 10.62 kB / 0.8732 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003365/0.6157, allocations: 92.53 kB / 0.8733 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.6157, allocations: 5.344 kB / 0.8733 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004634/0.6162, allocations: 70.23 kB / 0.8733 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.003e-05/0.6163, allocations: 17.47 kB / 0.8733 GB, free: 13.45 MB / 0.5919 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.0003064/0.6166, allocations: 307.1 kB / 0.8736 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.455e-05/0.6167, allocations: 57.03 kB / 0.8737 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006886/0.6174, allocations: 449.4 kB / 0.8741 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.6174, allocations: 6.953 kB / 0.8741 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.6174, allocations: 0 / 0.8741 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005698/0.618, allocations: 0.6575 MB / 0.8748 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001559/0.6195, allocations: 1.204 MB / 0.8759 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.6195, allocations: 2.906 kB / 0.876 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004437/0.62, allocations: 91.44 kB / 0.876 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.62, allocations: 2.906 kB / 0.876 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.2e-05/0.62, allocations: 9.781 kB / 0.8761 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002806/0.6203, allocations: 0.5939 MB / 0.8766 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.6203, allocations: 2.906 kB / 0.8766 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008505/0.6212, allocations: 0.7189 MB / 0.8773 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002157/0.6214, allocations: 180.3 kB / 0.8775 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.404e-05/0.6215, allocations: 8 kB / 0.8775 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004173/0.6219, allocations: 39.88 kB / 0.8776 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.622, allocations: 27.92 kB / 0.8776 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/0.622, allocations: 15.98 kB / 0.8776 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003888/0.6224, allocations: 354.8 kB / 0.8779 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.254e-06/0.6224, allocations: 0 / 0.8779 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009119/0.6234, allocations: 355.1 kB / 0.8783 GB, free: 9.121 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,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 (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.000423/0.6238, allocations: 216.7 kB / 0.8785 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001084/0.6249, allocations: 0.5707 MB / 0.879 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.6249, allocations: 1.125 kB / 0.879 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003069/0.6252, allocations: 195.2 kB / 0.8792 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001652/0.6269, allocations: 360.2 kB / 0.8796 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/0.629, allocations: 1.663 MB / 0.8812 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004785/0.6295, allocations: 0.9417 MB / 0.8821 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000671/0.6302, allocations: 208.9 kB / 0.8823 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.6303, allocations: 47.44 kB / 0.8824 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of SimCode: time 2.61e-07/0.6303, allocations: 0 / 0.8824 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of Templates: time 0.0185/0.6488, allocations: 11.04 MB / 0.8931 GB, free: 10.02 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)