Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.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.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure") translateModel(IDEAS.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 104 kB / 16.35 MB, free: 5.824 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.001145/0.001145, allocations: 190.5 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7684/0.7684, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 63.91 kB / 0.5067 GB, free: 7.652 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3464, allocations: 80.91 MB / 0.5858 GB, free: 25.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.1731/0.5195, allocations: 169.4 MB / 0.7512 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4233/0.9429, allocations: 7.308 MB / 0.7584 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006097/0.9435, allocations: 12.53 kB / 0.7584 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007389/0.9443, allocations: 210 kB / 0.7586 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001464/0.9458, allocations: 0.5762 MB / 0.7591 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.947, allocations: 435.9 kB / 0.7596 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006977/0.9477, allocations: 0.706 MB / 0.7602 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003711/0.9481, allocations: 275.5 kB / 0.7605 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006065/0.9487, allocations: 381.3 kB / 0.7609 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002764/0.949, allocations: 215.5 kB / 0.7611 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.59e-05/0.949, allocations: 22.53 kB / 0.7611 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001209/0.9503, allocations: 0.6916 MB / 0.7618 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.9504, allocations: 113.2 kB / 0.7619 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001822/0.9506, allocations: 156.8 kB / 0.762 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009435/0.9516, allocations: 0.5752 MB / 0.7626 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.9516, allocations: 0 / 0.7626 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.794e-06/0.9516, allocations: 0.875 kB / 0.7626 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.9516, allocations: 0.8438 kB / 0.7626 GB, free: 1.633 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001042/0.9526, allocations: 0.6433 MB / 0.7632 GB, free: 17.15 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.9527, allocations: 10.34 kB / 0.7632 GB, free: 17.15 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003597/0.953, allocations: 66.09 kB / 0.7633 GB, free: 17.13 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005204/0.9536, allocations: 328.8 kB / 0.7636 GB, free: 16.9 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/0.9536, allocations: 18.22 kB / 0.7636 GB, free: 16.9 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.332e-05/0.9537, allocations: 22.97 kB / 0.7637 GB, free: 16.9 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004867/0.9542, allocations: 298 kB / 0.7639 GB, free: 16.78 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.9542, allocations: 4.125 kB / 0.7639 GB, free: 16.78 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.9542, allocations: 14.09 kB / 0.764 GB, free: 16.77 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.9542, allocations: 5.75 kB / 0.764 GB, free: 16.77 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003782/0.9546, allocations: 178.2 kB / 0.7641 GB, free: 16.77 MB / 0.5919 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.001706/0.9563, allocations: 1.693 MB / 0.7658 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002497/0.9566, allocations: 84.91 kB / 0.7659 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.9568, allocations: 79.39 kB / 0.7659 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002826/0.9571, allocations: 195.7 kB / 0.7661 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.9571, allocations: 32.59 kB / 0.7662 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=11): time 1.733e-06/0.9571, allocations: 2.016 kB / 0.7662 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.0006905/0.9578, allocations: 222.3 kB / 0.7664 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.9578, allocations: 52.81 kB / 0.7664 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003351/0.9582, allocations: 319.2 kB / 0.7667 GB, free: 15 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.9582, allocations: 30.7 kB / 0.7668 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.9583, allocations: 206.7 kB / 0.767 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.416e-05/0.9584, allocations: 36.81 kB / 0.767 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.701e-05/0.9585, allocations: 47.78 kB / 0.767 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.9586, allocations: 338.6 kB / 0.7674 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.9588, allocations: 64.91 kB / 0.7674 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002507/0.959, allocations: 197.8 kB / 0.7676 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00036/0.9594, allocations: 237.6 kB / 0.7678 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.9594, allocations: 1 kB / 0.7678 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005217/0.9599, allocations: 255.7 kB / 0.7681 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.96, allocations: 9.125 kB / 0.7681 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.96, allocations: 7.312 kB / 0.7681 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.96, allocations: 9.984 kB / 0.7681 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/0.9602, allocations: 48.59 kB / 0.7681 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.494e-05/0.9603, allocations: 8.328 kB / 0.7682 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002503/0.9605, allocations: 36.66 kB / 0.7682 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/0.9606, allocations: 11.7 kB / 0.7682 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002349/0.9608, allocations: 167.8 kB / 0.7684 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002084/0.961, allocations: 196.3 kB / 0.7686 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002654/0.9613, allocations: 236.1 kB / 0.7688 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.084e-06/0.9613, allocations: 3.375 kB / 0.7688 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0003819/0.9617, allocations: 248.2 kB / 0.769 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.9617, allocations: 11.94 kB / 0.769 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.9617, allocations: 3.719 kB / 0.769 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.309e-06/0.9617, allocations: 4.469 kB / 0.769 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.9619, allocations: 50.77 kB / 0.7691 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.9619, allocations: 5.25 kB / 0.7691 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.9621, allocations: 28.89 kB / 0.7691 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.9621, allocations: 8.75 kB / 0.7691 GB, free: 13.71 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.88e-05/0.9622, allocations: 202.2 kB / 0.7693 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.587e-05/0.9623, allocations: 28.56 kB / 0.7693 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003374/0.9626, allocations: 170 kB / 0.7695 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.9626, allocations: 1.781 kB / 0.7695 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.9627, allocations: 4.688 kB / 0.7695 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.9627, allocations: 0.9375 kB / 0.7695 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008178/0.9635, allocations: 0.6124 MB / 0.7701 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.9635, allocations: 1.812 kB / 0.7701 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.9636, allocations: 27.58 kB / 0.7701 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.9636, allocations: 3.688 kB / 0.7701 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.9636, allocations: 8.25 kB / 0.7702 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/0.9637, allocations: 2.625 kB / 0.7702 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.9637, allocations: 6.969 kB / 0.7702 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003972/0.9641, allocations: 304.2 kB / 0.7705 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.9642, allocations: 114.9 kB / 0.7706 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.113e-05/0.9643, allocations: 4.094 kB / 0.7706 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.9644, allocations: 12.81 kB / 0.7706 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.208e-05/0.9645, allocations: 17.33 kB / 0.7706 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.9645, allocations: 4.312 kB / 0.7706 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002567/0.9648, allocations: 230.4 kB / 0.7708 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9648, allocations: 0.5 kB / 0.7708 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006135/0.9654, allocations: 133 kB / 0.7709 GB, free: 12.7 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004633/0.9659, allocations: 166.8 kB / 0.7711 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006029/0.9665, allocations: 246 kB / 0.7713 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.9665, allocations: 2.688 kB / 0.7713 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.9666, allocations: 62.83 kB / 0.7714 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007229/0.9674, allocations: 127.6 kB / 0.7715 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009824/0.9684, allocations: 0.4995 MB / 0.772 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.9687, allocations: 0.7752 MB / 0.7728 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000247/0.969, allocations: 87.77 kB / 0.7728 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.019e-05/0.9691, allocations: 28.06 kB / 0.7729 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of SimCode: time 8.52e-07/0.9691, allocations: 0.8438 kB / 0.7729 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of Templates: time 0.009125/0.9782, allocations: 4.868 MB / 0.7776 GB, free: 11.45 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.pipe 2>&1)