Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Sensors.Examples.Pressure,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.Pressure,fileNamePrefix="IBPSA_latest_IBPSA_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.001241/0.001241, allocations: 102.8 kB / 16.4 MB, free: 6.477 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.001309/0.001309, allocations: 193.2 kB / 17.34 MB, free: 5.754 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7006/0.7006, allocations: 115.3 MB / 406.5 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 68.02 kB / 0.5572 GB, free: 32.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1585, allocations: 76.18 MB / 0.6316 GB, free: 4.91 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Pressure): time 0.5231/0.6817, allocations: 169.4 MB / 0.7971 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007352/0.6891, allocations: 7.311 MB / 0.8042 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006393/0.6897, allocations: 12.03 kB / 0.8042 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006956/0.6904, allocations: 210.8 kB / 0.8044 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001458/0.692, allocations: 0.5797 MB / 0.805 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.6932, allocations: 432 kB / 0.8054 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008457/0.6941, allocations: 0.7046 MB / 0.8061 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004024/0.6945, allocations: 274.7 kB / 0.8063 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006744/0.6952, allocations: 382.5 kB / 0.8067 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002659/0.6954, allocations: 218.9 kB / 0.8069 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.911e-05/0.6955, allocations: 20.53 kB / 0.8069 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.6965, allocations: 0.6982 MB / 0.8076 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.6966, allocations: 114.6 kB / 0.8077 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.6968, allocations: 160.4 kB / 0.8079 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0007086/0.6975, allocations: 0.5716 MB / 0.8084 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.6975, allocations: 0 / 0.8084 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6975, allocations: 0 / 0.8084 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.687e-06/0.6976, allocations: 0 / 0.8084 GB, free: 11.52 MB / 0.5919 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.0008154/0.6984, allocations: 0.6378 MB / 0.8091 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.6984, allocations: 9.344 kB / 0.8091 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.379e-05/0.6985, allocations: 60.06 kB / 0.8091 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003225/0.6988, allocations: 67.22 kB / 0.8092 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004456/0.6993, allocations: 326.6 kB / 0.8095 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.6993, allocations: 16.91 kB / 0.8095 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.35e-05/0.6993, allocations: 22.03 kB / 0.8095 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004372/0.6998, allocations: 306.5 kB / 0.8098 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.6998, allocations: 0 / 0.8098 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/0.6998, allocations: 15.94 kB / 0.8099 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.6998, allocations: 6.844 kB / 0.8099 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003327/0.7002, allocations: 177.9 kB / 0.81 GB, free: 10.41 MB / 0.5919 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.00144/0.7016, allocations: 1.695 MB / 0.8117 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.7019, allocations: 84.27 kB / 0.8118 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.702, allocations: 83.53 kB / 0.8118 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002419/0.7023, allocations: 186.9 kB / 0.812 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.7023, allocations: 44.31 kB / 0.8121 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.7023, allocations: 0 / 0.8121 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.0006136/0.7029, allocations: 222.9 kB / 0.8123 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.703, allocations: 58.3 kB / 0.8123 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002754/0.7032, allocations: 318.6 kB / 0.8126 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.7033, allocations: 32.02 kB / 0.8127 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.7034, allocations: 193.3 kB / 0.8128 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.7034, allocations: 41.72 kB / 0.8129 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.015e-05/0.7035, allocations: 50.73 kB / 0.8129 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.7036, allocations: 337.2 kB / 0.8133 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.7038, allocations: 64.77 kB / 0.8133 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.704, allocations: 197.8 kB / 0.8135 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003128/0.7043, allocations: 227.9 kB / 0.8137 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.7043, allocations: 6.562 kB / 0.8137 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004053/0.7047, allocations: 253.8 kB / 0.814 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.7048, allocations: 12.06 kB / 0.814 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.433e-06/0.7048, allocations: 2.094 kB / 0.814 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.7048, allocations: 4.719 kB / 0.814 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.705, allocations: 50.69 kB / 0.814 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.705, allocations: 5.406 kB / 0.814 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/0.7052, allocations: 41.98 kB / 0.8141 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-05/0.7052, allocations: 14.05 kB / 0.8141 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002178/0.7055, allocations: 168.7 kB / 0.8143 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002219/0.7057, allocations: 199.2 kB / 0.8145 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002922/0.706, allocations: 232.2 kB / 0.8147 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-06/0.706, allocations: 0 / 0.8147 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0003975/0.7064, allocations: 253.8 kB / 0.8149 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.7064, allocations: 15.97 kB / 0.8149 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.7064, allocations: 2.188 kB / 0.8149 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.969e-06/0.7065, allocations: 7.438 kB / 0.8149 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.7066, allocations: 42.11 kB / 0.815 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.7066, allocations: 9.547 kB / 0.815 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.7068, allocations: 23.92 kB / 0.815 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.7069, allocations: 14.28 kB / 0.815 GB, free: 6.719 MB / 0.5919 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.0001134/0.707, allocations: 199 kB / 0.8152 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.926e-05/0.707, allocations: 31.44 kB / 0.8152 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003311/0.7074, allocations: 164.4 kB / 0.8154 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.7074, allocations: 3.938 kB / 0.8154 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.7074, allocations: 0 / 0.8154 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.7074, allocations: 6.078 kB / 0.8154 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008253/0.7082, allocations: 0.6082 MB / 0.816 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.7083, allocations: 0 / 0.816 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.7084, allocations: 24.36 kB / 0.816 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.7084, allocations: 6.531 kB / 0.816 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.7084, allocations: 6.969 kB / 0.816 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.7084, allocations: 5.719 kB / 0.816 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.85e-06/0.7084, allocations: 11.05 kB / 0.8161 GB, free: 5.953 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003499/0.7088, allocations: 297 kB / 0.8163 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.882e-05/0.7089, allocations: 112.9 kB / 0.8164 GB, free: 5.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.7089, allocations: 4.344 kB / 0.8165 GB, free: 5.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.7091, allocations: 14.11 kB / 0.8165 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.7092, allocations: 16.86 kB / 0.8165 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-06/0.7092, allocations: 7.969 kB / 0.8165 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001905/0.7094, allocations: 224 kB / 0.8167 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7094, allocations: 0 / 0.8167 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005207/0.7099, allocations: 132.9 kB / 0.8168 GB, free: 5.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.0009167/0.7108, allocations: 0.904 MB / 0.8177 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005237/0.7114, allocations: 248.3 kB / 0.8179 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.7114, allocations: 0 / 0.8179 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.7115, allocations: 68.86 kB / 0.818 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007034/0.7122, allocations: 119.2 kB / 0.8181 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003229/0.7155, allocations: 2.803 MB / 0.8209 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.7158, allocations: 0.771 MB / 0.8216 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002548/0.7161, allocations: 91 kB / 0.8217 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.7162, allocations: 87.03 kB / 0.8218 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of SimCode: time 3.91e-07/0.7162, allocations: 0 / 0.8218 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02573/0.742, allocations: 8.032 MB / 0.8296 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.66/8.402, allocations: 0 / 0.8296 GB, free: 13.52 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Pressure.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.pipe 2>&1)