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.001394/0.001394, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001666/0.001667, allocations: 194.5 kB / 16.53 MB, free: 6.391 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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9048/0.9048, allocations: 135.1 MB / 425.5 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 63 kB / 0.5054 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1437, allocations: 80.93 MB / 0.5845 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.4132/0.557, allocations: 169.4 MB / 0.7499 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007717/0.5647, allocations: 7.324 MB / 0.7571 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004736/0.5652, allocations: 11.69 kB / 0.7571 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006325/0.5659, allocations: 207.7 kB / 0.7573 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.5672, allocations: 0.569 MB / 0.7579 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.5683, allocations: 435 kB / 0.7583 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007029/0.569, allocations: 0.7043 MB / 0.759 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003719/0.5694, allocations: 272.5 kB / 0.7592 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005961/0.57, allocations: 378.5 kB / 0.7596 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002518/0.5702, allocations: 215 kB / 0.7598 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.027e-05/0.5703, allocations: 16 kB / 0.7598 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001025/0.5713, allocations: 0.7054 MB / 0.7605 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.5715, allocations: 103.7 kB / 0.7606 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.5716, allocations: 159.2 kB / 0.7607 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007091/0.5723, allocations: 0.5686 MB / 0.7613 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.5723, allocations: 0 / 0.7613 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5724, allocations: 0 / 0.7613 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.5724, allocations: 8 kB / 0.7613 GB, free: 7.793 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.0008403/0.5732, allocations: 0.6465 MB / 0.7619 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.5733, allocations: 8.031 kB / 0.7619 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.759e-05/0.5733, allocations: 54.55 kB / 0.762 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003264/0.5736, allocations: 67.44 kB / 0.7621 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003572/0.574, allocations: 306.1 kB / 0.7623 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.574, allocations: 24.44 kB / 0.7624 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.561e-05/0.5741, allocations: 23.94 kB / 0.7624 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004622/0.5746, allocations: 304.5 kB / 0.7627 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.5746, allocations: 0 / 0.7627 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.5746, allocations: 12 kB / 0.7627 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.5746, allocations: 4 kB / 0.7627 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003746/0.575, allocations: 171.8 kB / 0.7629 GB, free: 6.059 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.001481/0.5765, allocations: 1.704 MB / 0.7645 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002432/0.5767, allocations: 90.5 kB / 0.7646 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001794/0.5769, allocations: 76.86 kB / 0.7647 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002565/0.5772, allocations: 190.2 kB / 0.7649 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.5772, allocations: 34.56 kB / 0.7649 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.363e-06/0.5772, allocations: 3.938 kB / 0.7649 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0006653/0.5779, allocations: 221.1 kB / 0.7651 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.5779, allocations: 51.41 kB / 0.7652 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003018/0.5782, allocations: 328.5 kB / 0.7655 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.5783, allocations: 25.7 kB / 0.7655 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.5784, allocations: 203.7 kB / 0.7657 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.5784, allocations: 31.55 kB / 0.7657 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.285e-05/0.5785, allocations: 53.61 kB / 0.7658 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.5786, allocations: 338.8 kB / 0.7661 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.5788, allocations: 64.8 kB / 0.7662 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.579, allocations: 194.1 kB / 0.7663 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003548/0.5794, allocations: 229.5 kB / 0.7666 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.5794, allocations: 0 / 0.7666 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000473/0.5799, allocations: 269 kB / 0.7668 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.5799, allocations: 6.188 kB / 0.7668 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.5799, allocations: 4 kB / 0.7668 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.5799, allocations: 8 kB / 0.7668 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.5801, allocations: 47.91 kB / 0.7669 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.5802, allocations: 4 kB / 0.7669 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/0.5804, allocations: 33.08 kB / 0.7669 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.682e-05/0.5804, allocations: 12 kB / 0.7669 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002279/0.5807, allocations: 172.1 kB / 0.7671 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000244/0.5809, allocations: 199.5 kB / 0.7673 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003433/0.5813, allocations: 229.6 kB / 0.7675 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.667e-06/0.5813, allocations: 4.625 kB / 0.7675 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004476/0.5817, allocations: 253.2 kB / 0.7678 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.5818, allocations: 8 kB / 0.7678 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.5818, allocations: 7.938 kB / 0.7678 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.258e-06/0.5818, allocations: 7.938 kB / 0.7678 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.582, allocations: 43.98 kB / 0.7678 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.582, allocations: 11.92 kB / 0.7678 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.5822, allocations: 31.83 kB / 0.7679 GB, free: 496 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.5822, allocations: 11.56 kB / 0.7679 GB, free: 488 kB / 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.653e-05/0.5823, allocations: 205.5 kB / 0.7681 GB, free: 276 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.021e-05/0.5824, allocations: 23.72 kB / 0.7681 GB, free: 252 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003684/0.5828, allocations: 167.9 kB / 0.7682 GB, free: 76 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.5828, allocations: 0 / 0.7682 GB, free: 76 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.5828, allocations: 4 kB / 0.7683 GB, free: 72 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.5828, allocations: 0 / 0.7683 GB, free: 72 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008709/0.5837, allocations: 0.6092 MB / 0.7688 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.5837, allocations: 4 kB / 0.7688 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.5838, allocations: 32.2 kB / 0.7689 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.5838, allocations: 0 / 0.7689 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.5839, allocations: 4 kB / 0.7689 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.639e-06/0.5839, allocations: 11.88 kB / 0.7689 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5839, allocations: 0 / 0.7689 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003683/0.5842, allocations: 305.5 kB / 0.7692 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.434e-05/0.5844, allocations: 112.8 kB / 0.7693 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.122e-05/0.5844, allocations: 4 kB / 0.7693 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.5846, allocations: 15.92 kB / 0.7693 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.5846, allocations: 16.17 kB / 0.7693 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.5847, allocations: 4 kB / 0.7693 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000224/0.5849, allocations: 227 kB / 0.7695 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5849, allocations: 0 / 0.7695 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000537/0.5854, allocations: 127.8 kB / 0.7697 GB, free: 14.48 MB / 0.5919 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.0008543/0.5863, allocations: 0.9108 MB / 0.7706 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000563/0.5869, allocations: 252.9 kB / 0.7708 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5869, allocations: 0 / 0.7708 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.587, allocations: 67.83 kB / 0.7709 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007966/0.5879, allocations: 117.3 kB / 0.771 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003077/0.5909, allocations: 2.81 MB / 0.7737 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.5913, allocations: 0.7795 MB / 0.7745 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002681/0.5915, allocations: 82.89 kB / 0.7746 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.5917, allocations: 91.41 kB / 0.7746 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/0.5917, allocations: 0 / 0.7746 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2828/0.8745, allocations: 7.807 MB / 0.7823 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.978/9.853, allocations: 14.73 kB / 0.7823 GB, free: 1.48 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)