Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction") translateModel(IDEAS.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.000967/0.0009673, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.00107/0.00107, allocations: 172.7 kB / 15.95 MB, free: 208 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.449/1.449, allocations: 223.3 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.996/0.996, allocations: 135.3 MB / 426.4 MB, free: 14.15 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.0003561, allocations: 13.42 kB / 0.507 GB, free: 5.145 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1863, allocations: 82.31 MB / 0.5874 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.5664/0.7528, allocations: 169.9 MB / 0.7533 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01012/0.763, allocations: 4.291 MB / 0.7575 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00121/0.7642, allocations: 23.88 kB / 0.7575 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001393/0.7656, allocations: 286.2 kB / 0.7578 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004381/0.77, allocations: 0.9914 MB / 0.7587 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00247/0.7725, allocations: 0.5864 MB / 0.7593 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004657/0.7772, allocations: 2.307 MB / 0.7615 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.7785, allocations: 494.5 kB / 0.762 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003128/0.7816, allocations: 0.8519 MB / 0.7629 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001395/0.783, allocations: 0.5603 MB / 0.7634 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001197/0.7832, allocations: 28 kB / 0.7634 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00285/0.786, allocations: 0.8808 MB / 0.7643 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004241/0.7865, allocations: 239.3 kB / 0.7645 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003675/0.7869, allocations: 173.3 kB / 0.7647 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001934/0.7888, allocations: 1.005 MB / 0.7657 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.7888, allocations: 0 / 0.7657 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.118e-06/0.7888, allocations: 0 / 0.7657 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.7888, allocations: 3.938 kB / 0.7657 GB, free: 6.441 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.001994/0.7908, allocations: 0.9603 MB / 0.7666 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.7909, allocations: 8.031 kB / 0.7666 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001789/0.7927, allocations: 198.9 kB / 0.7668 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.794, allocations: 0.564 MB / 0.7674 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.429e-05/0.794, allocations: 45.31 kB / 0.7674 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.7942, allocations: 52 kB / 0.7674 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/0.7956, allocations: 0.6206 MB / 0.7681 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.7956, allocations: 3.938 kB / 0.7681 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.272e-05/0.7957, allocations: 20 kB / 0.7681 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.735e-05/0.7958, allocations: 21.31 kB / 0.7681 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.797, allocations: 496.9 kB / 0.7686 GB, free: 3.367 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.003958/0.8009, allocations: 2.392 MB / 0.7709 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007744/0.8017, allocations: 357.6 kB / 0.7712 GB, free: 420 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004329/0.8022, allocations: 210.4 kB / 0.7714 GB, free: 212 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007738/0.803, allocations: 319.2 kB / 0.7717 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/0.803, allocations: 39.16 kB / 0.7718 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 3.186e-06/0.803, allocations: 0 / 0.7718 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36): time 0.001641/0.8047, allocations: 0.5482 MB / 0.7723 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/0.8047, allocations: 55.34 kB / 0.7724 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000809/0.8056, allocations: 0.495 MB / 0.7729 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.299e-05/0.8056, allocations: 33.7 kB / 0.7729 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003106/0.8059, allocations: 320.6 kB / 0.7732 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.8061, allocations: 130.1 kB / 0.7733 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.8062, allocations: 12 kB / 0.7733 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.8064, allocations: 366.7 kB / 0.7737 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003378/0.8067, allocations: 144.8 kB / 0.7738 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004909/0.8072, allocations: 256.6 kB / 0.7741 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000427/0.8077, allocations: 193.5 kB / 0.7742 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.8077, allocations: 0 / 0.7742 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001079/0.8088, allocations: 478.1 kB / 0.7747 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.000132/0.8089, allocations: 159.3 kB / 0.7749 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.8089, allocations: 0 / 0.7749 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.809, allocations: 8 kB / 0.7749 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008444/0.8098, allocations: 108.4 kB / 0.775 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004727/0.8103, allocations: 0.5937 MB / 0.7755 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008101/0.8111, allocations: 78.02 kB / 0.7756 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.555e-05/0.8112, allocations: 16 kB / 0.7756 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.759e-06/0.8112, allocations: 4 kB / 0.7756 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009182/0.8121, allocations: 395.6 kB / 0.776 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.8122, allocations: 0 / 0.776 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.8122, allocations: 4 kB / 0.776 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005406/0.8127, allocations: 95.83 kB / 0.7761 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.8128, allocations: 4 kB / 0.7761 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007199/0.8135, allocations: 67.78 kB / 0.7762 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.917e-05/0.8135, allocations: 20.88 kB / 0.7762 GB, free: 11.12 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.0004912/0.814, allocations: 304.9 kB / 0.7765 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.8142, allocations: 59.28 kB / 0.7765 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.8152, allocations: 445.2 kB / 0.777 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.8153, allocations: 4 kB / 0.777 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.8153, allocations: 2.75 kB / 0.777 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008885/0.8162, allocations: 0.6572 MB / 0.7776 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002459/0.8186, allocations: 1.203 MB / 0.7788 GB, free: 8.285 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.8187, allocations: 4 kB / 0.7788 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007003/0.8194, allocations: 91.89 kB / 0.7789 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/0.8194, allocations: 4 kB / 0.7789 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.529e-05/0.8195, allocations: 15.94 kB / 0.7789 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003958/0.8199, allocations: 0.594 MB / 0.7795 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.8199, allocations: 4.031 kB / 0.7795 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.8212, allocations: 0.7406 MB / 0.7802 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003445/0.8215, allocations: 180.3 kB / 0.7804 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.8216, allocations: 12 kB / 0.7804 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006277/0.8223, allocations: 35.97 kB / 0.7804 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.083e-05/0.8223, allocations: 23.97 kB / 0.7805 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.849e-05/0.8224, allocations: 12.09 kB / 0.7805 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006061/0.823, allocations: 362.8 kB / 0.7808 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.9e-07/0.823, allocations: 0 / 0.7808 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00142/0.8244, allocations: 343.1 kB / 0.7811 GB, free: 5.809 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.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 (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.0006045/0.8251, allocations: 202.4 kB / 0.7813 GB, free: 5.613 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001656/0.8267, allocations: 0.5823 MB / 0.7819 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.8268, allocations: 0 / 0.7819 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004513/0.8272, allocations: 196.8 kB / 0.7821 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002592/0.8298, allocations: 350.9 kB / 0.7824 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003558/0.8334, allocations: 1.664 MB / 0.784 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007189/0.8341, allocations: 0.9456 MB / 0.785 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001106/0.8353, allocations: 204.9 kB / 0.7852 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002025/0.8355, allocations: 47.44 kB / 0.7852 GB, free: 1.574 MB / 0.5919 GB Notification: Performance of SimCode: time 1.192e-06/0.8355, allocations: 0 / 0.7852 GB, free: 1.574 MB / 0.5919 GB Notification: Performance of Templates: time 0.02216/0.8576, allocations: 11.08 MB / 0.796 GB, free: 6.688 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)