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.001156/0.001156, 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.001192/0.001192, allocations: 192.8 kB / 16.25 MB, free: 6.641 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.018/2.018, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.546/1.546, allocations: 135.1 MB / 425.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 64.3 kB / 0.505 GB, free: 5.574 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2339, allocations: 80.92 MB / 0.584 GB, free: 4.812 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.5779/0.8119, allocations: 167.2 MB / 0.7472 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006747/0.8187, allocations: 7.258 MB / 0.7543 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003158/0.819, allocations: 9.188 kB / 0.7543 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005438/0.8196, allocations: 178.5 kB / 0.7545 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001827/0.8214, allocations: 0.5383 MB / 0.755 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.8225, allocations: 403.7 kB / 0.7554 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000776/0.8233, allocations: 0.7034 MB / 0.7561 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003729/0.8236, allocations: 262.9 kB / 0.7564 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006425/0.8243, allocations: 389.2 kB / 0.7567 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002558/0.8246, allocations: 219.1 kB / 0.7569 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.57e-05/0.8246, allocations: 20 kB / 0.757 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001022/0.8256, allocations: 0.7209 MB / 0.7577 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.8258, allocations: 111.7 kB / 0.7578 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.8259, allocations: 159.2 kB / 0.7579 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007246/0.8267, allocations: 0.5959 MB / 0.7585 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.8267, allocations: 0 / 0.7585 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.022e-06/0.8267, allocations: 0 / 0.7585 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.8267, allocations: 0 / 0.7585 GB, free: 10.6 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.0007824/0.8275, allocations: 0.6542 MB / 0.7591 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.8275, allocations: 8.031 kB / 0.7591 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.454e-05/0.8276, allocations: 58.55 kB / 0.7592 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003176/0.8279, allocations: 63.48 kB / 0.7593 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/0.8283, allocations: 306.1 kB / 0.7596 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.8283, allocations: 12.44 kB / 0.7596 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.212e-05/0.8283, allocations: 28 kB / 0.7596 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004395/0.8288, allocations: 304.5 kB / 0.7599 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.8288, allocations: 4 kB / 0.7599 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.8288, allocations: 8 kB / 0.7599 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.8288, allocations: 8 kB / 0.7599 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003446/0.8292, allocations: 177.9 kB / 0.7601 GB, free: 8.855 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.001426/0.8306, allocations: 1.693 MB / 0.7617 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002254/0.8309, allocations: 98.44 kB / 0.7618 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.831, allocations: 76.84 kB / 0.7619 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002416/0.8313, allocations: 186.2 kB / 0.7621 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.8313, allocations: 38.5 kB / 0.7621 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.8313, allocations: 0 / 0.7621 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0006104/0.8319, allocations: 217.2 kB / 0.7623 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.832, allocations: 59.39 kB / 0.7624 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002832/0.8322, allocations: 316.5 kB / 0.7627 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.8323, allocations: 33.64 kB / 0.7627 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.8324, allocations: 207.7 kB / 0.7629 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.8324, allocations: 31.55 kB / 0.7629 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.968e-05/0.8325, allocations: 53.61 kB / 0.763 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.938e-05/0.8326, allocations: 338.8 kB / 0.7633 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.8328, allocations: 56.81 kB / 0.7634 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/0.833, allocations: 195.7 kB / 0.7635 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003562/0.8333, allocations: 233.5 kB / 0.7638 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.8334, allocations: 7.938 kB / 0.7638 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004373/0.8338, allocations: 252.8 kB / 0.764 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.8338, allocations: 8.406 kB / 0.764 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.8338, allocations: 8 kB / 0.764 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.8339, allocations: 4 kB / 0.764 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.834, allocations: 47.91 kB / 0.7641 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.026e-06/0.834, allocations: 4 kB / 0.7641 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.8343, allocations: 39.75 kB / 0.7641 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.8343, allocations: 12 kB / 0.7641 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002027/0.8345, allocations: 168.1 kB / 0.7643 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002184/0.8348, allocations: 198.1 kB / 0.7645 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003219/0.8351, allocations: 233.6 kB / 0.7647 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.076e-06/0.8351, allocations: 4 kB / 0.7647 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004212/0.8355, allocations: 257.7 kB / 0.765 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/0.8356, allocations: 12.06 kB / 0.765 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.8356, allocations: 7.062 kB / 0.765 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.214e-06/0.8356, allocations: 4 kB / 0.765 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.8358, allocations: 51.91 kB / 0.765 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.8358, allocations: 4 kB / 0.765 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002402/0.836, allocations: 31.83 kB / 0.7651 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.836, allocations: 15.98 kB / 0.7651 GB, free: 3.27 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.0001111/0.8362, allocations: 200.1 kB / 0.7653 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.736e-05/0.8362, allocations: 27.62 kB / 0.7653 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000366/0.8366, allocations: 173.5 kB / 0.7655 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.8366, allocations: 0 / 0.7655 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.8366, allocations: 0 / 0.7655 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.8366, allocations: 0 / 0.7655 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008461/0.8375, allocations: 0.6093 MB / 0.7661 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.8375, allocations: 224 / 0.7661 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.8376, allocations: 31.92 kB / 0.7661 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.8376, allocations: 4 kB / 0.7661 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.8376, allocations: 8 kB / 0.7661 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.8376, allocations: 3.938 kB / 0.7661 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.8377, allocations: 4 kB / 0.7661 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003515/0.838, allocations: 300.7 kB / 0.7664 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.848e-05/0.8381, allocations: 112.8 kB / 0.7665 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.298e-05/0.8382, allocations: 8 kB / 0.7665 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.8383, allocations: 19.92 kB / 0.7665 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.8384, allocations: 16.17 kB / 0.7665 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.8384, allocations: 4 kB / 0.7665 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001943/0.8386, allocations: 227 kB / 0.7668 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8386, allocations: 0 / 0.7668 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005348/0.8392, allocations: 131.8 kB / 0.7669 GB, free: 1.27 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.0008416/0.84, allocations: 0.9133 MB / 0.7678 GB, free: 328 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005143/0.8405, allocations: 248.2 kB / 0.768 GB, free: 80 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.8405, allocations: 0 / 0.768 GB, free: 80 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.8407, allocations: 61.2 kB / 0.7681 GB, free: 20 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007748/0.8415, allocations: 118.1 kB / 0.7682 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00307/0.8445, allocations: 2.879 MB / 0.771 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.8448, allocations: 0.7794 MB / 0.7718 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002712/0.8451, allocations: 84.86 kB / 0.7718 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.8452, allocations: 87.41 kB / 0.7719 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of SimCode: time 2.7e-07/0.8452, allocations: 0 / 0.7719 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6418/1.487, allocations: 7.664 MB / 0.7794 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004732/1.488, allocations: 227.4 kB / 0.7796 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.921/4.409, allocations: 3.938 kB / 0.7796 GB, free: 4.156 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)