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.005306/0.005306, allocations: 94.8 kB / 15.73 MB, free: 6.047 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.001323/0.001323, allocations: 206.4 kB / 16.68 MB, free: 5.973 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7753/0.7753, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 67.89 kB / 0.5809 GB, free: 8.023 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4203/0.4222, allocations: 80.21 MB / 0.6592 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.208/0.6302, allocations: 169.4 MB / 0.8247 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00999/0.6403, allocations: 7.328 MB / 0.8318 GB, free: 4.777 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005952/0.6409, allocations: 11.94 kB / 0.8318 GB, free: 4.766 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008447/0.6418, allocations: 214.6 kB / 0.832 GB, free: 4.555 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001783/0.6436, allocations: 0.5755 MB / 0.8326 GB, free: 3.977 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.6451, allocations: 423.8 kB / 0.833 GB, free: 3.566 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001284/0.6464, allocations: 0.7051 MB / 0.8337 GB, free: 2.859 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005763/0.6469, allocations: 275 kB / 0.834 GB, free: 2.59 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009303/0.6479, allocations: 382.5 kB / 0.8343 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004412/0.6483, allocations: 211.1 kB / 0.8345 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.582e-05/0.6484, allocations: 20 kB / 0.8346 GB, free: 1.988 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001384/0.6498, allocations: 0.7054 MB / 0.8352 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001816/0.65, allocations: 115.6 kB / 0.8353 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002533/0.6503, allocations: 155.2 kB / 0.8355 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.6515, allocations: 0.5836 MB / 0.8361 GB, free: 444 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.6515, allocations: 0 / 0.8361 GB, free: 444 kB / 0.6544 GB Notification: Performance of FrontEnd: time 9.51e-07/0.6515, allocations: 0 / 0.8361 GB, free: 444 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.6515, allocations: 0 / 0.8361 GB, free: 444 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.001154/0.6527, allocations: 0.6615 MB / 0.8367 GB, free: 15.72 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.6527, allocations: 8.031 kB / 0.8367 GB, free: 15.71 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.071e-05/0.6528, allocations: 62.47 kB / 0.8368 GB, free: 15.64 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003761/0.6532, allocations: 63.73 kB / 0.8368 GB, free: 15.58 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006107/0.6538, allocations: 322.3 kB / 0.8371 GB, free: 15.23 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.6538, allocations: 20.44 kB / 0.8372 GB, free: 15.21 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.442e-05/0.6539, allocations: 27.92 kB / 0.8372 GB, free: 15.18 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005581/0.6545, allocations: 300.6 kB / 0.8375 GB, free: 14.85 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.6545, allocations: 7.938 kB / 0.8375 GB, free: 14.84 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/0.6545, allocations: 8 kB / 0.8375 GB, free: 14.83 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.6545, allocations: 8 kB / 0.8375 GB, free: 14.82 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004188/0.655, allocations: 175.5 kB / 0.8377 GB, free: 14.65 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.002032/0.657, allocations: 1.694 MB / 0.8393 GB, free: 12.84 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000264/0.6573, allocations: 90.5 kB / 0.8394 GB, free: 12.74 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.6575, allocations: 80.84 kB / 0.8395 GB, free: 12.66 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003108/0.6578, allocations: 186.2 kB / 0.8397 GB, free: 12.44 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.6578, allocations: 34.56 kB / 0.8397 GB, free: 12.4 MB / 0.67 GB Notification: Performance of pre-optimization done (n=11): time 1.723e-06/0.6578, allocations: 0 / 0.8397 GB, free: 12.4 MB / 0.67 GB Notification: Performance of matching and sorting (n=11): time 0.000733/0.6586, allocations: 233 kB / 0.8399 GB, free: 12.17 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.6586, allocations: 55.39 kB / 0.84 GB, free: 12.1 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003932/0.659, allocations: 320.5 kB / 0.8403 GB, free: 11.78 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.6591, allocations: 25.7 kB / 0.8403 GB, free: 11.75 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.6593, allocations: 204.1 kB / 0.8405 GB, free: 11.54 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.6593, allocations: 39.69 kB / 0.8405 GB, free: 11.5 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.03e-05/0.6594, allocations: 53.66 kB / 0.8406 GB, free: 11.45 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.6596, allocations: 346.8 kB / 0.8409 GB, free: 11.1 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.6598, allocations: 56.81 kB / 0.841 GB, free: 11.04 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003214/0.6601, allocations: 190.1 kB / 0.8412 GB, free: 10.79 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004352/0.6605, allocations: 241.4 kB / 0.8414 GB, free: 10.51 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.6605, allocations: 0 / 0.8414 GB, free: 10.51 MB / 0.67 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005493/0.6611, allocations: 253.1 kB / 0.8416 GB, free: 10.25 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.6611, allocations: 8 kB / 0.8416 GB, free: 10.25 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.6611, allocations: 0 / 0.8416 GB, free: 10.25 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.6612, allocations: 8 kB / 0.8416 GB, free: 10.24 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.6614, allocations: 52.31 kB / 0.8417 GB, free: 10.19 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.6614, allocations: 7.938 kB / 0.8417 GB, free: 10.18 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002617/0.6617, allocations: 39.7 kB / 0.8417 GB, free: 10.14 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/0.6617, allocations: 19.92 kB / 0.8418 GB, free: 10.12 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002853/0.662, allocations: 168.7 kB / 0.8419 GB, free: 9.953 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002874/0.6623, allocations: 194.6 kB / 0.8421 GB, free: 9.703 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003973/0.6627, allocations: 229.4 kB / 0.8423 GB, free: 9.43 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.915e-06/0.6627, allocations: 11.92 kB / 0.8423 GB, free: 9.418 MB / 0.67 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005037/0.6632, allocations: 249.1 kB / 0.8426 GB, free: 9.168 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.6633, allocations: 8 kB / 0.8426 GB, free: 9.16 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.6633, allocations: 4 kB / 0.8426 GB, free: 9.156 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.763e-06/0.6633, allocations: 4.281 kB / 0.8426 GB, free: 9.152 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.6635, allocations: 56.31 kB / 0.8426 GB, free: 9.098 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.6635, allocations: 7.938 kB / 0.8426 GB, free: 9.09 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002443/0.6637, allocations: 27.94 kB / 0.8427 GB, free: 9.062 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.6637, allocations: 8 kB / 0.8427 GB, free: 9.055 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.000151/0.6639, allocations: 204.1 kB / 0.8429 GB, free: 8.848 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.851e-05/0.664, allocations: 31.8 kB / 0.8429 GB, free: 8.816 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004276/0.6644, allocations: 164.4 kB / 0.8431 GB, free: 8.652 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.6644, allocations: 4 kB / 0.8431 GB, free: 8.648 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.6644, allocations: 3.938 kB / 0.8431 GB, free: 8.645 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.6644, allocations: 3.984 kB / 0.8431 GB, free: 8.641 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.6654, allocations: 0.6093 MB / 0.8437 GB, free: 7.953 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.6655, allocations: 4 kB / 0.8437 GB, free: 7.949 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.6656, allocations: 27.98 kB / 0.8437 GB, free: 7.922 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.6656, allocations: 0 / 0.8437 GB, free: 7.922 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.6656, allocations: 7.938 kB / 0.8437 GB, free: 7.914 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/0.6656, allocations: 7.984 kB / 0.8437 GB, free: 7.906 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.6656, allocations: 224 / 0.8437 GB, free: 7.906 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004309/0.6661, allocations: 301.2 kB / 0.844 GB, free: 7.574 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.6662, allocations: 116.9 kB / 0.8441 GB, free: 7.441 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.6662, allocations: 7.938 kB / 0.8441 GB, free: 7.434 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.6664, allocations: 7.984 kB / 0.8441 GB, free: 7.426 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.059e-05/0.6665, allocations: 19.92 kB / 0.8441 GB, free: 7.406 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.6665, allocations: 4 kB / 0.8442 GB, free: 7.402 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002559/0.6668, allocations: 231 kB / 0.8444 GB, free: 7.18 MB / 0.67 GB Notification: Performance of sort global known variables: time 3e-07/0.6668, allocations: 3.938 kB / 0.8444 GB, free: 7.176 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0006021/0.6674, allocations: 131.8 kB / 0.8445 GB, free: 7.047 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.001143/0.6685, allocations: 0.8969 MB / 0.8454 GB, free: 6.109 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0006511/0.6692, allocations: 249.5 kB / 0.8456 GB, free: 5.867 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.6692, allocations: 0 / 0.8456 GB, free: 5.867 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.6694, allocations: 64.2 kB / 0.8457 GB, free: 5.805 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000778/0.6702, allocations: 142.9 kB / 0.8458 GB, free: 5.68 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003889/0.6741, allocations: 2.802 MB / 0.8485 GB, free: 2.656 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000452/0.6745, allocations: 0.7717 MB / 0.8493 GB, free: 1.859 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002882/0.6748, allocations: 82.89 kB / 0.8494 GB, free: 1.781 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.675, allocations: 95.41 kB / 0.8495 GB, free: 1.688 MB / 0.67 GB Notification: Performance of SimCode: time 3.11e-07/0.675, allocations: 0 / 0.8495 GB, free: 1.688 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03154/0.7065, allocations: 7.907 MB / 0.8572 GB, free: 9.953 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.04/8.747, allocations: 3.234 kB / 0.8572 GB, free: 9.953 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_Sensors_Examples_Pressure.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe 2>&1)