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.001141/0.001141, 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.001157/0.001157, allocations: 190.7 kB / 16.25 MB, free: 6.625 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.201/1.201, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7125/0.7125, allocations: 132.2 MB / 422.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 59.84 kB / 0.5014 GB, free: 9.004 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1298, allocations: 80.19 MB / 0.5797 GB, free: 9.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.3864/0.5162, allocations: 167.2 MB / 0.7429 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007598/0.5239, allocations: 7.249 MB / 0.75 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004848/0.5244, allocations: 11.69 kB / 0.75 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000614/0.525, allocations: 181.3 kB / 0.7502 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00127/0.5263, allocations: 0.5405 MB / 0.7507 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.5274, allocations: 400.5 kB / 0.7511 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000687/0.528, allocations: 0.7072 MB / 0.7518 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003301/0.5284, allocations: 258.9 kB / 0.752 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005616/0.529, allocations: 380.2 kB / 0.7524 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002355/0.5292, allocations: 228.6 kB / 0.7526 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.286e-05/0.5292, allocations: 25.03 kB / 0.7527 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008764/0.5301, allocations: 0.7182 MB / 0.7534 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.5302, allocations: 108.3 kB / 0.7535 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.5304, allocations: 157.5 kB / 0.7536 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006602/0.5311, allocations: 0.6022 MB / 0.7542 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.5311, allocations: 3.938 kB / 0.7542 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5311, allocations: 0 / 0.7542 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.5311, allocations: 0 / 0.7542 GB, free: 0.5039 MB / 0.5606 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.0007804/0.5319, allocations: 0.6465 MB / 0.7548 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.5319, allocations: 8.031 kB / 0.7548 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.413e-05/0.532, allocations: 54.55 kB / 0.7549 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003195/0.5323, allocations: 71.5 kB / 0.755 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.5326, allocations: 302.1 kB / 0.7552 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.5327, allocations: 20.44 kB / 0.7553 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.155e-05/0.5327, allocations: 24 kB / 0.7553 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004538/0.5332, allocations: 304.5 kB / 0.7556 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.5332, allocations: 0 / 0.7556 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.5332, allocations: 4 kB / 0.7556 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.5332, allocations: 12 kB / 0.7556 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003533/0.5336, allocations: 175.7 kB / 0.7558 GB, free: 14.77 MB / 0.5762 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.001439/0.535, allocations: 1.691 MB / 0.7574 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.5353, allocations: 90.5 kB / 0.7575 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.5354, allocations: 84.8 kB / 0.7576 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002473/0.5357, allocations: 190.2 kB / 0.7578 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.5357, allocations: 32.69 kB / 0.7578 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.5357, allocations: 0 / 0.7578 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0006322/0.5364, allocations: 225.1 kB / 0.758 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.5364, allocations: 55.41 kB / 0.7581 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000282/0.5367, allocations: 316.5 kB / 0.7584 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.5367, allocations: 29.7 kB / 0.7584 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.5369, allocations: 203.7 kB / 0.7586 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.5369, allocations: 35.55 kB / 0.7586 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.438e-05/0.537, allocations: 53.61 kB / 0.7587 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.5371, allocations: 338.8 kB / 0.759 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.5372, allocations: 64.75 kB / 0.7591 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002265/0.5375, allocations: 193 kB / 0.7592 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003351/0.5378, allocations: 233.4 kB / 0.7595 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5378, allocations: 0 / 0.7595 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004391/0.5383, allocations: 256.8 kB / 0.7597 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.5383, allocations: 8 kB / 0.7597 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.5383, allocations: 4 kB / 0.7597 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.5383, allocations: 4 kB / 0.7597 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.5385, allocations: 52.31 kB / 0.7598 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.5385, allocations: 8 kB / 0.7598 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002512/0.5388, allocations: 39.75 kB / 0.7598 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/0.5388, allocations: 12 kB / 0.7598 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002116/0.539, allocations: 173.5 kB / 0.76 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002135/0.5393, allocations: 197.5 kB / 0.7602 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003158/0.5396, allocations: 237.6 kB / 0.7604 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.725e-06/0.5396, allocations: 7.938 kB / 0.7604 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004213/0.54, allocations: 252.8 kB / 0.7607 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.516e-06/0.54, allocations: 8 kB / 0.7607 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.54, allocations: 4 kB / 0.7607 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.749e-06/0.5401, allocations: 4.406 kB / 0.7607 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.5402, allocations: 51.91 kB / 0.7607 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.5402, allocations: 7.125 kB / 0.7607 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002419/0.5405, allocations: 31.83 kB / 0.7608 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.5405, allocations: 16 kB / 0.7608 GB, free: 9.188 MB / 0.5762 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.305e-05/0.5406, allocations: 192.1 kB / 0.761 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.02e-05/0.5407, allocations: 35.61 kB / 0.761 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000355/0.541, allocations: 172.4 kB / 0.7612 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.541, allocations: 0 / 0.7612 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.5411, allocations: 0 / 0.7612 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.5411, allocations: 3.938 kB / 0.7612 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008348/0.5419, allocations: 0.6054 MB / 0.7618 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.5419, allocations: 0 / 0.7618 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.542, allocations: 31.91 kB / 0.7618 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.542, allocations: 4 kB / 0.7618 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.5421, allocations: 8.219 kB / 0.7618 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.5421, allocations: 3.938 kB / 0.7618 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.5421, allocations: 4 kB / 0.7618 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003444/0.5424, allocations: 297.9 kB / 0.7621 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.964e-05/0.5425, allocations: 112.8 kB / 0.7622 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.894e-05/0.5426, allocations: 4 kB / 0.7622 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.5428, allocations: 23.83 kB / 0.7622 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.5428, allocations: 16.17 kB / 0.7622 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.5428, allocations: 8 kB / 0.7622 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001979/0.543, allocations: 231 kB / 0.7625 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.543e-06/0.543, allocations: 0 / 0.7625 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005284/0.5436, allocations: 131.8 kB / 0.7626 GB, free: 7.18 MB / 0.5762 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.0008066/0.5444, allocations: 0.9016 MB / 0.7635 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005195/0.5449, allocations: 253 kB / 0.7637 GB, free: 6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5449, allocations: 0 / 0.7637 GB, free: 6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.5451, allocations: 59.91 kB / 0.7638 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007513/0.5458, allocations: 124.9 kB / 0.7639 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003009/0.5489, allocations: 2.886 MB / 0.7667 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.5492, allocations: 0.7756 MB / 0.7675 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002722/0.5494, allocations: 93.06 kB / 0.7676 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.5496, allocations: 87.41 kB / 0.7676 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of SimCode: time 2.61e-07/0.5496, allocations: 0 / 0.7676 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.686/2.235, allocations: 7.654 MB / 0.7751 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002126/2.236, allocations: 211.4 kB / 0.7753 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.234/4.469, allocations: 0 / 0.7753 GB, free: 10.07 MB / 0.5919 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)