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.0011/0.0011, allocations: 102.1 kB / 16.41 MB, free: 6.5 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.001279/0.001279, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7905/0.7905, allocations: 132.2 MB / 423.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 73.27 kB / 0.582 GB, free: 23.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1609, allocations: 80.22 MB / 0.6604 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.6035/0.7644, allocations: 169.4 MB / 0.8258 GB, free: 3.988 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008972/0.7734, allocations: 7.323 MB / 0.833 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006626/0.7741, allocations: 13.69 kB / 0.833 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009273/0.7751, allocations: 217.1 kB / 0.8332 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001942/0.7771, allocations: 0.5718 MB / 0.8337 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.7785, allocations: 434 kB / 0.8342 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001199/0.7797, allocations: 0.7061 MB / 0.8349 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005385/0.7803, allocations: 272.1 kB / 0.8351 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009334/0.7812, allocations: 383.8 kB / 0.8355 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004315/0.7816, allocations: 213.7 kB / 0.8357 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.21e-05/0.7817, allocations: 17.62 kB / 0.8357 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001377/0.7831, allocations: 0.7076 MB / 0.8364 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001647/0.7833, allocations: 104.4 kB / 0.8365 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002339/0.7835, allocations: 159.8 kB / 0.8366 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001169/0.7847, allocations: 0.5842 MB / 0.8372 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.7847, allocations: 2.906 kB / 0.8372 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7847, allocations: 0 / 0.8372 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.22e-05/0.7848, allocations: 0 / 0.8372 GB, free: 11.29 MB / 0.6075 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.001038/0.7858, allocations: 0.6344 MB / 0.8378 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.7858, allocations: 14.17 kB / 0.8378 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003886/0.7862, allocations: 59.09 kB / 0.8379 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005003/0.7868, allocations: 321.8 kB / 0.8382 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.7868, allocations: 18.59 kB / 0.8382 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.076e-05/0.7868, allocations: 23.16 kB / 0.8382 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004939/0.7873, allocations: 309.1 kB / 0.8385 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.7874, allocations: 0 / 0.8385 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.624e-05/0.7874, allocations: 14.3 kB / 0.8386 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.7874, allocations: 7.781 kB / 0.8386 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003636/0.7878, allocations: 176.1 kB / 0.8387 GB, free: 10.04 MB / 0.6075 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.001671/0.7895, allocations: 1.701 MB / 0.8404 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002431/0.7897, allocations: 89.19 kB / 0.8405 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.7899, allocations: 76.77 kB / 0.8406 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002668/0.7901, allocations: 189.1 kB / 0.8407 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.7902, allocations: 30.56 kB / 0.8408 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.7902, allocations: 0 / 0.8408 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.000692/0.7909, allocations: 227.9 kB / 0.841 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.7909, allocations: 53.81 kB / 0.841 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003135/0.7912, allocations: 328.4 kB / 0.8413 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.7913, allocations: 27.52 kB / 0.8414 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.7914, allocations: 198.2 kB / 0.8416 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.7915, allocations: 35.8 kB / 0.8416 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.666e-05/0.7915, allocations: 58.11 kB / 0.8416 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.7917, allocations: 338.5 kB / 0.842 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.7918, allocations: 58.84 kB / 0.842 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/0.7921, allocations: 192.2 kB / 0.8422 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003574/0.7924, allocations: 230.9 kB / 0.8424 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.7925, allocations: 2.875 kB / 0.8424 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005004/0.793, allocations: 256.4 kB / 0.8427 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.793, allocations: 4.969 kB / 0.8427 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.793, allocations: 9.266 kB / 0.8427 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.793, allocations: 4.875 kB / 0.8427 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.7932, allocations: 47.64 kB / 0.8427 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.7932, allocations: 14.92 kB / 0.8428 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/0.7935, allocations: 39.42 kB / 0.8428 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.869e-05/0.7935, allocations: 10.06 kB / 0.8428 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002299/0.7938, allocations: 168.7 kB / 0.843 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002285/0.794, allocations: 201.1 kB / 0.8432 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003369/0.7944, allocations: 224.6 kB / 0.8434 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.244e-06/0.7944, allocations: 2.75 kB / 0.8434 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004475/0.7948, allocations: 248.2 kB / 0.8436 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.7948, allocations: 8.828 kB / 0.8436 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.7949, allocations: 9.219 kB / 0.8436 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.33e-06/0.7949, allocations: 4.812 kB / 0.8436 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.795, allocations: 47.2 kB / 0.8437 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.795, allocations: 13.05 kB / 0.8437 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002483/0.7953, allocations: 31.89 kB / 0.8437 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.7953, allocations: 10.28 kB / 0.8437 GB, free: 5.727 MB / 0.6075 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.0001223/0.7955, allocations: 204 kB / 0.8439 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.946e-05/0.7955, allocations: 28.16 kB / 0.844 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003771/0.7959, allocations: 161.5 kB / 0.8441 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.7959, allocations: 4.875 kB / 0.8441 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.7959, allocations: 3 kB / 0.8441 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.7959, allocations: 0 / 0.8441 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000904/0.7968, allocations: 0.608 MB / 0.8447 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.7969, allocations: 0 / 0.8447 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.797, allocations: 23.48 kB / 0.8447 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.797, allocations: 3.844 kB / 0.8447 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.797, allocations: 10.72 kB / 0.8447 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.797, allocations: 6.031 kB / 0.8447 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.797, allocations: 10.28 kB / 0.8448 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003953/0.7974, allocations: 305.4 kB / 0.845 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.7975, allocations: 119.6 kB / 0.8452 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.055e-05/0.7976, allocations: 6.469 kB / 0.8452 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.7978, allocations: 16.55 kB / 0.8452 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.7978, allocations: 13.42 kB / 0.8452 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.7979, allocations: 4.312 kB / 0.8452 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002097/0.7981, allocations: 231.3 kB / 0.8454 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7981, allocations: 0 / 0.8454 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005723/0.7986, allocations: 130.3 kB / 0.8455 GB, free: 4.273 MB / 0.6075 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.0003966/0.7991, allocations: 159.2 kB / 0.8457 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005763/0.7996, allocations: 250.2 kB / 0.8459 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.7997, allocations: 0 / 0.8459 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.7998, allocations: 68.2 kB / 0.846 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007191/0.8005, allocations: 130 kB / 0.8461 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008439/0.8014, allocations: 0.5269 MB / 0.8466 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.8017, allocations: 0.7678 MB / 0.8474 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.761e-05/0.8018, allocations: 29.69 kB / 0.8474 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of SimCode: time 1.9e-07/0.8018, allocations: 0 / 0.8474 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of Templates: time 0.007425/0.8092, allocations: 4.485 MB / 0.8518 GB, free: 0.4922 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)