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.001431/0.001431, allocations: 111.8 kB / 16.37 MB, free: 5.984 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.001567/0.001567, allocations: 193.4 kB / 17.31 MB, free: 5.602 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.264/1.264, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002034/0.002034, allocations: 284.9 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9104/0.9104, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 91.17 kB / 0.5967 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1679, allocations: 86.98 MB / 0.6816 GB, free: 7.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Pressure): time 0.4322/0.6001, allocations: 169.4 MB / 0.8471 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009147/0.6093, allocations: 7.317 MB / 0.8542 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008267/0.6102, allocations: 11.94 kB / 0.8542 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0007973/0.611, allocations: 210.6 kB / 0.8544 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001563/0.6126, allocations: 0.5755 MB / 0.855 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.6138, allocations: 431.3 kB / 0.8554 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0008771/0.6147, allocations: 0.7051 MB / 0.8561 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00039/0.6151, allocations: 272 kB / 0.8564 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006299/0.6157, allocations: 386.5 kB / 0.8567 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002724/0.616, allocations: 211 kB / 0.8569 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 3.695e-05/0.6161, allocations: 20 kB / 0.8569 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.6172, allocations: 0.7054 MB / 0.8576 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.6173, allocations: 107.7 kB / 0.8577 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001513/0.6175, allocations: 155.2 kB / 0.8579 GB, free: 9.914 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0007527/0.6183, allocations: 0.5753 MB / 0.8584 GB, free: 9.34 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.6183, allocations: 0 / 0.8584 GB, free: 9.34 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6183, allocations: 0 / 0.8584 GB, free: 9.34 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.6183, allocations: 0 / 0.8584 GB, free: 9.34 MB / 0.6231 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.0008659/0.6192, allocations: 0.6472 MB / 0.8591 GB, free: 8.645 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.6192, allocations: 12.03 kB / 0.8591 GB, free: 8.633 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003315/0.6195, allocations: 63.52 kB / 0.8591 GB, free: 8.57 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004895/0.62, allocations: 322.1 kB / 0.8595 GB, free: 8.215 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.6201, allocations: 16.44 kB / 0.8595 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.355e-05/0.6201, allocations: 24 kB / 0.8595 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004547/0.6206, allocations: 296.6 kB / 0.8598 GB, free: 7.848 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.6206, allocations: 0 / 0.8598 GB, free: 7.848 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.6206, allocations: 15.94 kB / 0.8598 GB, free: 7.832 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.6206, allocations: 11.94 kB / 0.8598 GB, free: 7.82 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003556/0.621, allocations: 176.1 kB / 0.86 GB, free: 7.648 MB / 0.6231 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.001667/0.6227, allocations: 1.695 MB / 0.8616 GB, free: 5.836 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.6229, allocations: 94.5 kB / 0.8617 GB, free: 5.734 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.6231, allocations: 84.8 kB / 0.8618 GB, free: 5.648 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000291/0.6234, allocations: 186.2 kB / 0.862 GB, free: 5.43 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.6234, allocations: 34.5 kB / 0.862 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.6235, allocations: 0 / 0.862 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of matching and sorting (n=11): time 0.0006677/0.6241, allocations: 225.2 kB / 0.8622 GB, free: 5.16 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.6242, allocations: 51.41 kB / 0.8623 GB, free: 5.098 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003151/0.6245, allocations: 328.4 kB / 0.8626 GB, free: 4.766 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.6245, allocations: 25.7 kB / 0.8626 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.6247, allocations: 195.8 kB / 0.8628 GB, free: 4.539 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.6247, allocations: 43.45 kB / 0.8628 GB, free: 4.496 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.498e-05/0.6248, allocations: 49.66 kB / 0.8629 GB, free: 4.441 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.625, allocations: 338.8 kB / 0.8632 GB, free: 4.102 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.6251, allocations: 68.75 kB / 0.8633 GB, free: 4.031 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.6253, allocations: 190.2 kB / 0.8635 GB, free: 3.785 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003417/0.6257, allocations: 233.4 kB / 0.8637 GB, free: 3.508 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.6257, allocations: 4 kB / 0.8637 GB, free: 3.504 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004407/0.6261, allocations: 260.9 kB / 0.8639 GB, free: 3.242 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.6262, allocations: 4 kB / 0.8639 GB, free: 3.238 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.6262, allocations: 4 kB / 0.8639 GB, free: 3.234 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.6262, allocations: 8 kB / 0.8639 GB, free: 3.227 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.6264, allocations: 51.81 kB / 0.864 GB, free: 3.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.6264, allocations: 12 kB / 0.864 GB, free: 3.168 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/0.6267, allocations: 35.67 kB / 0.864 GB, free: 3.133 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.738e-05/0.6267, allocations: 13.56 kB / 0.8641 GB, free: 3.121 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002116/0.6269, allocations: 172 kB / 0.8642 GB, free: 2.949 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002106/0.6271, allocations: 187 kB / 0.8644 GB, free: 2.707 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003145/0.6274, allocations: 237.4 kB / 0.8646 GB, free: 2.426 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.617e-06/0.6275, allocations: 4 kB / 0.8646 GB, free: 2.422 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004225/0.6279, allocations: 241 kB / 0.8649 GB, free: 2.18 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.6279, allocations: 11.94 kB / 0.8649 GB, free: 2.168 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.6279, allocations: 4 kB / 0.8649 GB, free: 2.164 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.253e-06/0.6279, allocations: 4 kB / 0.8649 GB, free: 2.16 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.6281, allocations: 48.31 kB / 0.8649 GB, free: 2.113 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.6281, allocations: 8 kB / 0.8649 GB, free: 2.105 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002257/0.6283, allocations: 31.81 kB / 0.865 GB, free: 2.074 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.6284, allocations: 16 kB / 0.865 GB, free: 2.059 MB / 0.6231 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.0001175/0.6285, allocations: 196.2 kB / 0.8652 GB, free: 1.859 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.273e-05/0.6286, allocations: 31.56 kB / 0.8652 GB, free: 1.828 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003729/0.6289, allocations: 172.3 kB / 0.8654 GB, free: 1.656 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.6289, allocations: 4 kB / 0.8654 GB, free: 1.652 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.629, allocations: 4 kB / 0.8654 GB, free: 1.648 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.629, allocations: 0 / 0.8654 GB, free: 1.648 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008545/0.6298, allocations: 0.6017 MB / 0.866 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.6298, allocations: 4 kB / 0.866 GB, free: 0.9648 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.63, allocations: 27.92 kB / 0.866 GB, free: 0.9375 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.63, allocations: 48 / 0.866 GB, free: 0.9375 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.63, allocations: 7.984 kB / 0.866 GB, free: 0.9297 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.63, allocations: 7.938 kB / 0.866 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.63, allocations: 0 / 0.866 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003462/0.6304, allocations: 320 kB / 0.8663 GB, free: 0.5742 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.6305, allocations: 108.8 kB / 0.8664 GB, free: 460 kB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.6305, allocations: 8 kB / 0.8664 GB, free: 452 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.6307, allocations: 9.109 kB / 0.8664 GB, free: 444 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-05/0.6307, allocations: 11.92 kB / 0.8664 GB, free: 432 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.6308, allocations: 15.94 kB / 0.8664 GB, free: 416 kB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001987/0.631, allocations: 231 kB / 0.8667 GB, free: 188 kB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.631, allocations: 0 / 0.8667 GB, free: 188 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005499/0.6315, allocations: 131.8 kB / 0.8668 GB, free: 56 kB / 0.6231 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.0003907/0.6319, allocations: 168.7 kB / 0.867 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005485/0.6325, allocations: 240.2 kB / 0.8672 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.6325, allocations: 4 kB / 0.8672 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.6327, allocations: 61.08 kB / 0.8672 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00068/0.6333, allocations: 129.2 kB / 0.8674 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007622/0.6341, allocations: 0.4975 MB / 0.8679 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.6344, allocations: 0.7756 MB / 0.8686 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002266/0.6347, allocations: 86.89 kB / 0.8687 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.132e-05/0.6347, allocations: 27.42 kB / 0.8687 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of SimCode: time 3.61e-07/0.6347, allocations: 3.938 kB / 0.8687 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of Templates: time 0.008841/0.6436, allocations: 4.871 MB / 0.8735 GB, free: 9.23 MB / 0.6387 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.pipe 2>&1)