Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure") translateModel(BuildingSystems.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001859/0.001859, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002274/0.002274, allocations: 190.3 kB / 16.25 MB, free: 6.621 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.474/1.474, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002472/0.002472, allocations: 286.9 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.082/1.082, allocations: 178.6 MB / 0.507 GB, free: 4.746 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002831/0.002831, allocations: 105.2 kB / 0.6059 GB, free: 25.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1822, allocations: 89.14 MB / 0.693 GB, free: 4.723 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Pressure): time 0.5194/0.7017, allocations: 167.2 MB / 0.8562 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00849/0.7102, allocations: 7.248 MB / 0.8633 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005621/0.7108, allocations: 11.38 kB / 0.8633 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000713/0.7116, allocations: 189.4 kB / 0.8635 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001445/0.7131, allocations: 0.5376 MB / 0.864 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.7142, allocations: 387.9 kB / 0.8644 GB, free: 8 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008183/0.7151, allocations: 0.7075 MB / 0.8651 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003753/0.7154, allocations: 265.9 kB / 0.8653 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006178/0.7161, allocations: 375 kB / 0.8657 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002509/0.7163, allocations: 224.8 kB / 0.8659 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.283e-05/0.7164, allocations: 19.97 kB / 0.8659 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001/0.7174, allocations: 0.7147 MB / 0.8666 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.7175, allocations: 110.9 kB / 0.8667 GB, free: 6.629 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.7177, allocations: 167.6 kB / 0.8669 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0007605/0.7185, allocations: 0.5899 MB / 0.8675 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.7185, allocations: 0 / 0.8675 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.934e-06/0.7185, allocations: 2.125 kB / 0.8675 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.7185, allocations: 0 / 0.8675 GB, free: 6.16 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.0009201/0.7194, allocations: 0.6431 MB / 0.8681 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.7195, allocations: 7.812 kB / 0.8681 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003295/0.7198, allocations: 72.45 kB / 0.8682 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003996/0.7202, allocations: 313.6 kB / 0.8685 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.7202, allocations: 14.56 kB / 0.8685 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.601e-05/0.7203, allocations: 25.56 kB / 0.8685 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004951/0.7208, allocations: 301.4 kB / 0.8688 GB, free: 5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.7208, allocations: 0 / 0.8688 GB, free: 5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.7208, allocations: 14.34 kB / 0.8688 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.7208, allocations: 8.375 kB / 0.8688 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003512/0.7212, allocations: 177.2 kB / 0.869 GB, free: 4.902 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.00174/0.7229, allocations: 1.694 MB / 0.8706 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002433/0.7232, allocations: 87.19 kB / 0.8707 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.7234, allocations: 76.95 kB / 0.8708 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000292/0.7237, allocations: 193.2 kB / 0.871 GB, free: 3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.7237, allocations: 34.5 kB / 0.871 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=11): time 1.312e-06/0.7237, allocations: 0 / 0.871 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.000657/0.7244, allocations: 220.2 kB / 0.8712 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.7244, allocations: 58.16 kB / 0.8713 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003307/0.7248, allocations: 319.8 kB / 0.8716 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.7248, allocations: 28.7 kB / 0.8716 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.725, allocations: 204.7 kB / 0.8718 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.168e-05/0.725, allocations: 37.23 kB / 0.8719 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.857e-05/0.7251, allocations: 53.14 kB / 0.8719 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.7253, allocations: 332.4 kB / 0.8722 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.7254, allocations: 74.3 kB / 0.8723 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002609/0.7257, allocations: 189.5 kB / 0.8725 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003675/0.7261, allocations: 238.3 kB / 0.8727 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.7261, allocations: 2.438 kB / 0.8727 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004457/0.7265, allocations: 256.5 kB / 0.8729 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.7266, allocations: 5.281 kB / 0.8729 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.7266, allocations: 4.906 kB / 0.873 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.7266, allocations: 5.312 kB / 0.873 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.7268, allocations: 48.56 kB / 0.873 GB, free: 1.336 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.7268, allocations: 5.562 kB / 0.873 GB, free: 1.336 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002603/0.7271, allocations: 46.23 kB / 0.8731 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.055e-05/0.7271, allocations: 10.06 kB / 0.8731 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002523/0.7274, allocations: 181.5 kB / 0.8732 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002618/0.7276, allocations: 189 kB / 0.8734 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003613/0.728, allocations: 234.1 kB / 0.8736 GB, free: 0.7656 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.563e-06/0.728, allocations: 0 / 0.8736 GB, free: 0.7656 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004321/0.7285, allocations: 253 kB / 0.8739 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.7285, allocations: 15.41 kB / 0.8739 GB, free: 0.6172 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.7285, allocations: 6.734 kB / 0.8739 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.739e-06/0.7285, allocations: 4.844 kB / 0.8739 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.7287, allocations: 47.08 kB / 0.874 GB, free: 0.6016 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.7287, allocations: 8.828 kB / 0.874 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002421/0.7289, allocations: 27.45 kB / 0.874 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.729, allocations: 14.08 kB / 0.874 GB, free: 0.5859 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.00013/0.7291, allocations: 199 kB / 0.8742 GB, free: 400 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.531e-05/0.7291, allocations: 32.59 kB / 0.8742 GB, free: 380 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003711/0.7295, allocations: 166.4 kB / 0.8744 GB, free: 276 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.7295, allocations: 3.984 kB / 0.8744 GB, free: 272 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.7296, allocations: 4 kB / 0.8744 GB, free: 268 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.7296, allocations: 5.938 kB / 0.8744 GB, free: 264 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008892/0.7305, allocations: 0.6086 MB / 0.875 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.7305, allocations: 0 / 0.875 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.7306, allocations: 27.86 kB / 0.875 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.7306, allocations: 2.312 kB / 0.875 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.7306, allocations: 6.875 kB / 0.875 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.7306, allocations: 6.609 kB / 0.875 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.7306, allocations: 4.688 kB / 0.875 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000378/0.731, allocations: 301.4 kB / 0.8753 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.7311, allocations: 113.1 kB / 0.8754 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.194e-05/0.7312, allocations: 10.77 kB / 0.8754 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.7314, allocations: 11.36 kB / 0.8755 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.7314, allocations: 13.03 kB / 0.8755 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/0.7314, allocations: 8.406 kB / 0.8755 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002083/0.7317, allocations: 231.1 kB / 0.8757 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.843e-06/0.7317, allocations: 0 / 0.8757 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005292/0.7322, allocations: 134 kB / 0.8758 GB, free: 15.13 MB / 0.6075 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.0003741/0.7326, allocations: 168.2 kB / 0.876 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005284/0.7331, allocations: 259.2 kB / 0.8762 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.7331, allocations: 0 / 0.8762 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.7333, allocations: 63.27 kB / 0.8763 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007726/0.7341, allocations: 125.2 kB / 0.8764 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008351/0.7349, allocations: 0.5885 MB / 0.877 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/0.7353, allocations: 0.7722 MB / 0.8777 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002665/0.7356, allocations: 85.27 kB / 0.8778 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.912e-05/0.7357, allocations: 29.25 kB / 0.8778 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of SimCode: time 6.41e-07/0.7357, allocations: 0 / 0.8778 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of Templates: time 0.01026/0.7459, allocations: 4.819 MB / 0.8826 GB, free: 9.406 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.pipe 2>&1)