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: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Pressure,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Pressure,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01221/0.01221, allocations: 101.3 kB / 15.73 MB, free: 6.012 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.00219/0.00219, allocations: 194.5 kB / 16.67 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.248/2.248, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.261/1.261, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002224, allocations: 67.89 kB / 0.5809 GB, free: 8.059 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7619/0.7642, allocations: 80.2 MB / 0.6592 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.3197/1.084, allocations: 169.5 MB / 0.8247 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0158/1.1, allocations: 7.319 MB / 0.8318 GB, free: 4.809 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000973/1.101, allocations: 11.94 kB / 0.8318 GB, free: 4.797 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001375/1.102, allocations: 214.5 kB / 0.832 GB, free: 4.586 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003041/1.105, allocations: 0.5755 MB / 0.8326 GB, free: 4.008 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002553/1.108, allocations: 434.5 kB / 0.833 GB, free: 3.59 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001827/1.11, allocations: 0.6973 MB / 0.8337 GB, free: 2.891 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006582/1.111, allocations: 279 kB / 0.834 GB, free: 2.617 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001149/1.112, allocations: 390.4 kB / 0.8343 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000467/1.112, allocations: 211.1 kB / 0.8345 GB, free: 2.027 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.729e-05/1.112, allocations: 16 kB / 0.8346 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002083/1.114, allocations: 0.7054 MB / 0.8352 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001993/1.115, allocations: 103.7 kB / 0.8353 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002603/1.115, allocations: 167.1 kB / 0.8355 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001325/1.116, allocations: 0.5764 MB / 0.8361 GB, free: 472 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/1.116, allocations: 3.938 kB / 0.8361 GB, free: 468 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.804e-06/1.116, allocations: 4 kB / 0.8361 GB, free: 464 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.07e-05/1.116, allocations: 0 / 0.8361 GB, free: 464 kB / 0.6544 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.001456/1.118, allocations: 0.6388 MB / 0.8367 GB, free: 15.77 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 7.049e-05/1.118, allocations: 11.97 kB / 0.8367 GB, free: 15.75 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.661e-05/1.118, allocations: 54.55 kB / 0.8368 GB, free: 15.69 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005897/1.119, allocations: 63.58 kB / 0.8368 GB, free: 15.63 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007743/1.119, allocations: 322 kB / 0.8371 GB, free: 15.28 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.431e-05/1.119, allocations: 20.44 kB / 0.8371 GB, free: 15.26 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.201e-05/1.119, allocations: 23.94 kB / 0.8372 GB, free: 15.23 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008628/1.12, allocations: 304.5 kB / 0.8375 GB, free: 14.89 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/1.12, allocations: 4 kB / 0.8375 GB, free: 14.89 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.664e-05/1.12, allocations: 8 kB / 0.8375 GB, free: 14.88 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/1.12, allocations: 8 kB / 0.8375 GB, free: 14.88 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000601/1.121, allocations: 179.5 kB / 0.8377 GB, free: 14.7 MB / 0.67 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.002454/1.123, allocations: 1.698 MB / 0.8393 GB, free: 12.88 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000379/1.124, allocations: 86.61 kB / 0.8394 GB, free: 12.79 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002516/1.124, allocations: 76.81 kB / 0.8395 GB, free: 12.71 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003942/1.125, allocations: 190.2 kB / 0.8396 GB, free: 12.49 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/1.125, allocations: 34.56 kB / 0.8397 GB, free: 12.45 MB / 0.67 GB Notification: Performance of pre-optimization done (n=11): time 2.014e-06/1.125, allocations: 0 / 0.8397 GB, free: 12.45 MB / 0.67 GB Notification: Performance of matching and sorting (n=11): time 0.001047/1.126, allocations: 221.2 kB / 0.8399 GB, free: 12.22 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/1.126, allocations: 55.41 kB / 0.8399 GB, free: 12.16 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005053/1.126, allocations: 324.5 kB / 0.8403 GB, free: 11.83 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/1.126, allocations: 25.7 kB / 0.8403 GB, free: 11.8 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000211/1.127, allocations: 199.8 kB / 0.8405 GB, free: 11.6 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 5.381e-05/1.127, allocations: 35.45 kB / 0.8405 GB, free: 11.56 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/1.127, allocations: 49.7 kB / 0.8405 GB, free: 11.51 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001938/1.127, allocations: 346.8 kB / 0.8409 GB, free: 11.16 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/1.127, allocations: 60.8 kB / 0.8409 GB, free: 11.1 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000383/1.128, allocations: 206 kB / 0.8411 GB, free: 10.84 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005618/1.128, allocations: 237.5 kB / 0.8414 GB, free: 10.55 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/1.128, allocations: 0 / 0.8414 GB, free: 10.55 MB / 0.67 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007378/1.129, allocations: 249.2 kB / 0.8416 GB, free: 10.3 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/1.129, allocations: 13.97 kB / 0.8416 GB, free: 10.29 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/1.129, allocations: 4 kB / 0.8416 GB, free: 10.29 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.948e-05/1.129, allocations: 7.938 kB / 0.8416 GB, free: 10.28 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003091/1.129, allocations: 39.98 kB / 0.8417 GB, free: 10.24 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.361e-05/1.129, allocations: 11.92 kB / 0.8417 GB, free: 10.23 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004115/1.13, allocations: 43.61 kB / 0.8417 GB, free: 10.19 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.829e-05/1.13, allocations: 8 kB / 0.8417 GB, free: 10.18 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003585/1.13, allocations: 172.7 kB / 0.8419 GB, free: 10.01 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000372/1.131, allocations: 206.3 kB / 0.8421 GB, free: 9.746 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005452/1.131, allocations: 225.5 kB / 0.8423 GB, free: 9.477 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.869e-06/1.131, allocations: 3.938 kB / 0.8423 GB, free: 9.473 MB / 0.67 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0007198/1.132, allocations: 245.3 kB / 0.8425 GB, free: 9.227 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/1.132, allocations: 8.062 kB / 0.8425 GB, free: 9.219 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/1.132, allocations: 4 kB / 0.8425 GB, free: 9.215 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/1.132, allocations: 4 kB / 0.8426 GB, free: 9.211 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002764/1.132, allocations: 51.91 kB / 0.8426 GB, free: 9.16 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/1.132, allocations: 11.94 kB / 0.8426 GB, free: 9.148 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003824/1.133, allocations: 27.83 kB / 0.8426 GB, free: 9.121 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/1.133, allocations: 8.281 kB / 0.8426 GB, free: 9.113 MB / 0.67 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.0001658/1.133, allocations: 208.1 kB / 0.8428 GB, free: 8.902 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.549e-05/1.133, allocations: 27.62 kB / 0.8429 GB, free: 8.875 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005625/1.134, allocations: 168.5 kB / 0.843 GB, free: 8.707 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/1.134, allocations: 7.938 kB / 0.843 GB, free: 8.699 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/1.134, allocations: 0 / 0.843 GB, free: 8.699 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/1.134, allocations: 0 / 0.843 GB, free: 8.699 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/1.135, allocations: 0.6054 MB / 0.8436 GB, free: 8.016 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/1.135, allocations: 0 / 0.8436 GB, free: 8.016 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/1.135, allocations: 32.19 kB / 0.8437 GB, free: 7.984 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-06/1.135, allocations: 8 kB / 0.8437 GB, free: 7.977 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/1.135, allocations: 3.938 kB / 0.8437 GB, free: 7.973 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.235e-05/1.135, allocations: 8 kB / 0.8437 GB, free: 7.965 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.013e-05/1.135, allocations: 7.938 kB / 0.8437 GB, free: 7.957 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005781/1.136, allocations: 289.1 kB / 0.844 GB, free: 7.637 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001602/1.136, allocations: 120.7 kB / 0.8441 GB, free: 7.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.173e-05/1.136, allocations: 11.88 kB / 0.8441 GB, free: 7.488 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000298/1.137, allocations: 7.984 kB / 0.8441 GB, free: 7.48 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.032e-05/1.137, allocations: 16 kB / 0.8441 GB, free: 7.465 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/1.137, allocations: 7.984 kB / 0.8441 GB, free: 7.457 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0003406/1.137, allocations: 227 kB / 0.8443 GB, free: 7.238 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.41e-07/1.137, allocations: 0 / 0.8443 GB, free: 7.238 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001012/1.138, allocations: 131.8 kB / 0.8445 GB, free: 7.109 MB / 0.67 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.001462/1.14, allocations: 0.9039 MB / 0.8453 GB, free: 6.168 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0009317/1.14, allocations: 249.5 kB / 0.8456 GB, free: 5.926 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.14, allocations: 0 / 0.8456 GB, free: 5.926 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002418/1.141, allocations: 59.84 kB / 0.8456 GB, free: 5.867 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/1.142, allocations: 127.4 kB / 0.8458 GB, free: 5.75 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005279/1.147, allocations: 2.798 MB / 0.8485 GB, free: 2.73 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005115/1.148, allocations: 0.7755 MB / 0.8493 GB, free: 1.93 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004333/1.148, allocations: 86.89 kB / 0.8493 GB, free: 1.848 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002095/1.149, allocations: 87.41 kB / 0.8494 GB, free: 1.762 MB / 0.67 GB Notification: Performance of SimCode: time 7.22e-07/1.149, allocations: 0 / 0.8494 GB, free: 1.762 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04598/1.195, allocations: 8.01 MB / 0.8572 GB, free: 9.926 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/14.38, allocations: 8.031 kB / 0.8572 GB, free: 9.922 MB / 0.6856 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_Pressure.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe 2>&1)