Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Pressure,fileNamePrefix="IDEAS_dev_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.001002/0.001002, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005272/0.005272, allocations: 171.3 kB / 16.27 MB, free: 6.652 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.327/1.327, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8692/0.8692, allocations: 135.3 MB / 426.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003141/0.0003141, allocations: 8.688 kB / 0.5077 GB, free: 4.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1379, allocations: 82.32 MB / 0.5881 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.3878/0.5258, allocations: 165 MB / 0.7492 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008259/0.5341, allocations: 7.237 MB / 0.7563 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003029/0.5344, allocations: 9.719 kB / 0.7563 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005705/0.535, allocations: 177.2 kB / 0.7565 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001237/0.5362, allocations: 0.5475 MB / 0.757 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009174/0.5372, allocations: 372.9 kB / 0.7574 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008996/0.5381, allocations: 1.044 MB / 0.7584 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003208/0.5384, allocations: 214.7 kB / 0.7586 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005625/0.539, allocations: 340 kB / 0.7589 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002365/0.5392, allocations: 225.2 kB / 0.7591 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.839e-05/0.5393, allocations: 10.12 kB / 0.7591 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001021/0.5403, allocations: 0.7755 MB / 0.7599 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.5404, allocations: 98.34 kB / 0.76 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.5406, allocations: 175.7 kB / 0.7602 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006661/0.5412, allocations: 0.5802 MB / 0.7607 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.5412, allocations: 0 / 0.7607 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5412, allocations: 0 / 0.7607 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.5413, allocations: 0 / 0.7607 GB, free: 11.64 MB / 0.5762 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.0007743/0.542, allocations: 0.596 MB / 0.7613 GB, free: 11 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.5421, allocations: 8.031 kB / 0.7613 GB, free: 11 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.503e-05/0.5421, allocations: 54.55 kB / 0.7614 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000318/0.5425, allocations: 63.48 kB / 0.7614 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/0.5428, allocations: 310 kB / 0.7617 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.5429, allocations: 16.44 kB / 0.7617 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.5429, allocations: 24 kB / 0.7618 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004752/0.5434, allocations: 312.5 kB / 0.7621 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.5434, allocations: 0 / 0.7621 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.5434, allocations: 12 kB / 0.7621 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.5434, allocations: 11.98 kB / 0.7621 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003661/0.5438, allocations: 187.7 kB / 0.7623 GB, free: 9.941 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.001467/0.5453, allocations: 1.704 MB / 0.7639 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002392/0.5455, allocations: 94.5 kB / 0.764 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.5457, allocations: 84.84 kB / 0.7641 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002386/0.5459, allocations: 186.2 kB / 0.7643 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.546, allocations: 30.56 kB / 0.7643 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.546, allocations: 0 / 0.7643 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0006415/0.5466, allocations: 249.1 kB / 0.7645 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.5467, allocations: 59.41 kB / 0.7646 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003005/0.547, allocations: 316.5 kB / 0.7649 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.547, allocations: 25.7 kB / 0.7649 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.5471, allocations: 203.8 kB / 0.7651 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.5472, allocations: 35.45 kB / 0.7651 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.5472, allocations: 25.7 kB / 0.7652 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.5473, allocations: 334.8 kB / 0.7655 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.5475, allocations: 67.95 kB / 0.7656 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002494/0.5477, allocations: 197.1 kB / 0.7657 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003689/0.5481, allocations: 241.5 kB / 0.766 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.5481, allocations: 4 kB / 0.766 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004603/0.5486, allocations: 268.8 kB / 0.7662 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.5487, allocations: 202.3 kB / 0.7664 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.5487, allocations: 5.25 kB / 0.7664 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.5487, allocations: 4 kB / 0.7664 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.5489, allocations: 47.92 kB / 0.7665 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.549, allocations: 11.98 kB / 0.7665 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002465/0.5492, allocations: 39.67 kB / 0.7665 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.662e-05/0.5492, allocations: 15.94 kB / 0.7665 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.47e-06/0.5492, allocations: 4 kB / 0.7665 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003846/0.5496, allocations: 207.9 kB / 0.7667 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.5497, allocations: 8.062 kB / 0.7668 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.022e-06/0.5497, allocations: 7.984 kB / 0.7668 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.5498, allocations: 48.8 kB / 0.7668 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.5498, allocations: 7.938 kB / 0.7668 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.5501, allocations: 39.75 kB / 0.7669 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.5501, allocations: 12 kB / 0.7669 GB, free: 4.828 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 0.000156/0.5503, allocations: 237 kB / 0.7671 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.721e-05/0.5503, allocations: 35.56 kB / 0.7671 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003719/0.5507, allocations: 173.1 kB / 0.7673 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.5507, allocations: 4 kB / 0.7673 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.5507, allocations: 0 / 0.7673 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.5507, allocations: 12.02 kB / 0.7673 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008416/0.5516, allocations: 0.621 MB / 0.7679 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5516, allocations: 0 / 0.7679 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.5517, allocations: 27.98 kB / 0.7679 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.5517, allocations: 224 / 0.7679 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.5518, allocations: 8 kB / 0.7679 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.5518, allocations: 7.984 kB / 0.768 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5518, allocations: 3.938 kB / 0.768 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003851/0.5522, allocations: 315.5 kB / 0.7683 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.387e-05/0.5523, allocations: 108.8 kB / 0.7684 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.5523, allocations: 4 kB / 0.7684 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.5525, allocations: 35.81 kB / 0.7684 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.5526, allocations: 11.88 kB / 0.7684 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.5526, allocations: 4 kB / 0.7684 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002041/0.5528, allocations: 227 kB / 0.7686 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5528, allocations: 0 / 0.7686 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005142/0.5533, allocations: 139.8 kB / 0.7688 GB, free: 2.738 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.0008304/0.5541, allocations: 0.9058 MB / 0.7697 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005492/0.5547, allocations: 264.4 kB / 0.7699 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5547, allocations: 0 / 0.7699 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.5549, allocations: 63.89 kB / 0.77 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009335/0.5558, allocations: 143.2 kB / 0.7701 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003289/0.5591, allocations: 2.922 MB / 0.773 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.5594, allocations: 0.7797 MB / 0.7737 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002779/0.5597, allocations: 86.97 kB / 0.7738 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.5599, allocations: 87.41 kB / 0.7739 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of SimCode: time 3.6e-07/0.5599, allocations: 0 / 0.7739 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.266/0.8259, allocations: 7.453 MB / 0.7812 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003243/0.8263, allocations: 233.2 kB / 0.7814 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.998/2.824, allocations: 0 / 0.7814 GB, free: 5.734 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Pressure.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.pipe 2>&1)