Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Sensors.Examples.Pressure") translateModel(IDEAS.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001277/0.001277, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001343/0.001343, allocations: 191.3 kB / 16.25 MB, free: 6.629 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.337/1.337, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7646/0.7646, allocations: 132.2 MB / 422.3 MB, free: 1.902 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001424, allocations: 64 kB / 0.5013 GB, free: 4.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4105/0.4119, allocations: 80.2 MB / 0.5796 GB, free: 4.531 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.1757/0.5877, allocations: 167.2 MB / 0.7429 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007678/0.5954, allocations: 7.254 MB / 0.7499 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004714/0.5959, allocations: 15.88 kB / 0.75 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000608/0.5965, allocations: 179 kB / 0.7501 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001317/0.5979, allocations: 0.5486 MB / 0.7507 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.5989, allocations: 388.8 kB / 0.751 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008276/0.5998, allocations: 0.7166 MB / 0.7517 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003693/0.6002, allocations: 247.1 kB / 0.752 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006222/0.6008, allocations: 378.5 kB / 0.7523 GB, free: 224 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002777/0.6011, allocations: 231 kB / 0.7526 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.486e-05/0.6011, allocations: 23.94 kB / 0.7526 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001185/0.6023, allocations: 0.7132 MB / 0.7533 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.6025, allocations: 111.6 kB / 0.7534 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001758/0.6027, allocations: 151.2 kB / 0.7535 GB, free: 15 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001069/0.6037, allocations: 0.6037 MB / 0.7541 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.6038, allocations: 0 / 0.7541 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.545e-06/0.6038, allocations: 0 / 0.7541 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.6038, allocations: 0 / 0.7541 GB, free: 14.39 MB / 0.5919 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.001092/0.6049, allocations: 0.6405 MB / 0.7547 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.6049, allocations: 15.97 kB / 0.7548 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004151/0.6054, allocations: 67.48 kB / 0.7548 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004058/0.6058, allocations: 302.1 kB / 0.7551 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.6058, allocations: 16.44 kB / 0.7551 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.96e-05/0.6059, allocations: 27.98 kB / 0.7551 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005563/0.6064, allocations: 304.5 kB / 0.7554 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.6065, allocations: 3.938 kB / 0.7554 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.6065, allocations: 8 kB / 0.7554 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.6065, allocations: 8 kB / 0.7555 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003835/0.6069, allocations: 175.8 kB / 0.7556 GB, free: 12.71 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.001766/0.6087, allocations: 1.698 MB / 0.7573 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002765/0.609, allocations: 90.44 kB / 0.7574 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/0.6091, allocations: 88.84 kB / 0.7575 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003113/0.6094, allocations: 178.2 kB / 0.7576 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.6095, allocations: 38.56 kB / 0.7577 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=11): time 1.683e-06/0.6095, allocations: 0 / 0.7577 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.0007334/0.6102, allocations: 227.9 kB / 0.7579 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.6103, allocations: 55.41 kB / 0.7579 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003146/0.6106, allocations: 316.5 kB / 0.7582 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.6107, allocations: 29.7 kB / 0.7583 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.6108, allocations: 199.7 kB / 0.7584 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.6108, allocations: 35.55 kB / 0.7585 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.791e-05/0.6109, allocations: 57.55 kB / 0.7585 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.6111, allocations: 338.8 kB / 0.7589 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.6112, allocations: 60.81 kB / 0.7589 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/0.6115, allocations: 193 kB / 0.7591 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003408/0.6118, allocations: 245.4 kB / 0.7593 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.6118, allocations: 3.938 kB / 0.7593 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004382/0.6123, allocations: 248.9 kB / 0.7596 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.6123, allocations: 11.94 kB / 0.7596 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.6123, allocations: 0 / 0.7596 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.6123, allocations: 8 kB / 0.7596 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.6125, allocations: 52.31 kB / 0.7596 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.6125, allocations: 8 kB / 0.7597 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002579/0.6128, allocations: 35.75 kB / 0.7597 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.162e-05/0.6128, allocations: 19.94 kB / 0.7597 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002285/0.6131, allocations: 168.1 kB / 0.7599 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002167/0.6133, allocations: 185.1 kB / 0.76 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003172/0.6136, allocations: 237.6 kB / 0.7603 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.533e-06/0.6136, allocations: 3.938 kB / 0.7603 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004276/0.6141, allocations: 260.8 kB / 0.7605 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.6141, allocations: 8 kB / 0.7605 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.6141, allocations: 4.156 kB / 0.7605 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.891e-06/0.6141, allocations: 4.406 kB / 0.7605 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.6143, allocations: 51.91 kB / 0.7606 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.6143, allocations: 7.984 kB / 0.7606 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002427/0.6145, allocations: 31.83 kB / 0.7606 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.6146, allocations: 15.98 kB / 0.7606 GB, free: 7.109 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 0.000114/0.6147, allocations: 200.1 kB / 0.7608 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.559e-05/0.6147, allocations: 27.62 kB / 0.7609 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003685/0.6151, allocations: 168.4 kB / 0.761 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.6151, allocations: 4 kB / 0.761 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.6151, allocations: 0 / 0.761 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.6152, allocations: 0 / 0.761 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008753/0.616, allocations: 0.6093 MB / 0.7616 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.616, allocations: 3.938 kB / 0.7616 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.6162, allocations: 27.92 kB / 0.7616 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.6162, allocations: 4 kB / 0.7617 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.6162, allocations: 224 / 0.7617 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.6162, allocations: 11.94 kB / 0.7617 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.6162, allocations: 0 / 0.7617 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003594/0.6166, allocations: 305 kB / 0.762 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.54e-05/0.6167, allocations: 108.8 kB / 0.7621 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.094e-05/0.6167, allocations: 8 kB / 0.7621 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.6169, allocations: 19.92 kB / 0.7621 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.617, allocations: 15.92 kB / 0.7621 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.617, allocations: 4 kB / 0.7621 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002145/0.6172, allocations: 231 kB / 0.7623 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6172, allocations: 0 / 0.7623 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005689/0.6178, allocations: 139.7 kB / 0.7625 GB, free: 5.102 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.0004793/0.6183, allocations: 173.1 kB / 0.7626 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005989/0.6189, allocations: 249 kB / 0.7629 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.6189, allocations: 0 / 0.7629 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.6191, allocations: 72.02 kB / 0.7629 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008665/0.62, allocations: 128.3 kB / 0.7631 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008688/0.6208, allocations: 0.5831 MB / 0.7636 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.6212, allocations: 0.7795 MB / 0.7644 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002731/0.6215, allocations: 75.56 kB / 0.7645 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.661e-05/0.6216, allocations: 31.42 kB / 0.7645 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of SimCode: time 2.7e-07/0.6216, allocations: 0 / 0.7645 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of Templates: time 0.009335/0.6309, allocations: 4.788 MB / 0.7692 GB, free: 14.26 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe 2>&1)