Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Pressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Pressure") translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Pressure") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.168/0.1699, allocations: 80.84 MB / 0.5899 GB, free: 6.992 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.5363/0.7062, allocations: 167.2 MB / 0.7531 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0078/0.7141, allocations: 7.151 MB / 0.7601 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007772/0.7149, allocations: 12.75 kB / 0.7601 GB, free: 12.72 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.7159, allocations: 253.1 kB / 0.7603 GB, free: 12.6 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001289/0.7172, allocations: 450.5 kB / 0.7608 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00147/0.7187, allocations: 497.3 kB / 0.7612 GB, free: 12.26 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001149/0.7199, allocations: 1.056 MB / 0.7623 GB, free: 11.96 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004432/0.7203, allocations: 350.5 kB / 0.7626 GB, free: 11.83 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001024/0.7214, allocations: 0.5691 MB / 0.7632 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003411/0.7217, allocations: 338.2 kB / 0.7635 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.627e-05/0.7218, allocations: 37.91 kB / 0.7635 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006883/0.7225, allocations: 499.8 kB / 0.764 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001559/0.7226, allocations: 187.2 kB / 0.7642 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002245/0.7229, allocations: 247.5 kB / 0.7644 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007867/0.7237, allocations: 0.7337 MB / 0.7651 GB, free: 10.9 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.7237, allocations: 4 kB / 0.7651 GB, free: 10.9 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7237, allocations: 5.75 kB / 0.7651 GB, free: 10.89 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.677e-06/0.7237, allocations: 0 / 0.7651 GB, free: 10.89 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001277/0.725, allocations: 0.7533 MB / 0.7659 GB, free: 10.33 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.725, allocations: 10.09 kB / 0.7659 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003047/0.7254, allocations: 59.91 kB / 0.7659 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004393/0.7258, allocations: 342.2 kB / 0.7663 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.7258, allocations: 26.66 kB / 0.7663 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.962e-05/0.7259, allocations: 32.84 kB / 0.7663 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009096/0.7268, allocations: 480.3 kB / 0.7668 GB, free: 9.816 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.7268, allocations: 0 / 0.7668 GB, free: 9.816 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.273e-05/0.7269, allocations: 18.59 kB / 0.7668 GB, free: 9.816 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.7269, allocations: 11.75 kB / 0.7668 GB, free: 9.812 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007238/0.7276, allocations: 325.7 kB / 0.7671 GB, free: 9.738 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002356/0.73, allocations: 1.999 MB / 0.7691 GB, free: 8.164 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003949/0.7304, allocations: 104.1 kB / 0.7692 GB, free: 8.121 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.7305, allocations: 59.55 kB / 0.7692 GB, free: 8.098 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.7306, allocations: 3.938 kB / 0.7692 GB, free: 8.094 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.7306, allocations: 33.31 kB / 0.7693 GB, free: 8.055 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.7306, allocations: 0 / 0.7693 GB, free: 8.055 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0009564/0.7316, allocations: 236.4 kB / 0.7695 GB, free: 7.953 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.7316, allocations: 55.34 kB / 0.7695 GB, free: 7.887 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004491/0.7321, allocations: 460.4 kB / 0.77 GB, free: 7.707 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.7321, allocations: 31.33 kB / 0.77 GB, free: 7.676 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.7323, allocations: 253.2 kB / 0.7703 GB, free: 7.508 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.7323, allocations: 25.95 kB / 0.7703 GB, free: 7.488 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.61e-05/0.7324, allocations: 66.45 kB / 0.7703 GB, free: 7.461 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.7326, allocations: 348.4 kB / 0.7707 GB, free: 7.133 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/0.7328, allocations: 96.19 kB / 0.7708 GB, free: 7.105 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003121/0.7331, allocations: 234.8 kB / 0.771 GB, free: 6.898 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004398/0.7336, allocations: 290 kB / 0.7713 GB, free: 6.699 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.7336, allocations: 5.656 kB / 0.7713 GB, free: 6.699 MB / 0.545 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005919/0.7342, allocations: 341.4 kB / 0.7716 GB, free: 6.582 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.7342, allocations: 7.188 kB / 0.7716 GB, free: 6.582 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.7342, allocations: 5.656 kB / 0.7716 GB, free: 6.582 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.7343, allocations: 9 kB / 0.7716 GB, free: 6.578 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002672/0.7345, allocations: 72.83 kB / 0.7717 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.7345, allocations: 8.297 kB / 0.7717 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004233/0.735, allocations: 70.91 kB / 0.7718 GB, free: 6.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.735, allocations: 9.656 kB / 0.7718 GB, free: 6.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002542/0.7353, allocations: 205 kB / 0.772 GB, free: 6.418 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002558/0.7355, allocations: 221.3 kB / 0.7722 GB, free: 6.215 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003521/0.7359, allocations: 275.8 kB / 0.7724 GB, free: 6.02 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.046e-06/0.7359, allocations: 2.594 kB / 0.7724 GB, free: 6.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.000485/0.7364, allocations: 314.8 kB / 0.7727 GB, free: 5.914 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.7364, allocations: 11.61 kB / 0.7728 GB, free: 5.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.7364, allocations: 8.375 kB / 0.7728 GB, free: 5.906 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.571e-06/0.7364, allocations: 5.375 kB / 0.7728 GB, free: 5.906 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.7366, allocations: 63.69 kB / 0.7728 GB, free: 5.891 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.7367, allocations: 7.938 kB / 0.7728 GB, free: 5.891 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003867/0.7371, allocations: 46.53 kB / 0.7729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.7371, allocations: 9.531 kB / 0.7729 GB, free: 5.871 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (32): * Single equations (assignments): 32 * 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.0002021/0.7373, allocations: 203.2 kB / 0.7731 GB, free: 5.68 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.995e-05/0.7374, allocations: 43.66 kB / 0.7731 GB, free: 5.656 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.7375, allocations: 41.61 kB / 0.7732 GB, free: 5.633 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.7375, allocations: 0 / 0.7732 GB, free: 5.633 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-06/0.7375, allocations: 0 / 0.7732 GB, free: 5.633 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.7375, allocations: 4 kB / 0.7732 GB, free: 5.629 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008809/0.7384, allocations: 0.5706 MB / 0.7737 GB, free: 5.215 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.7384, allocations: 3.938 kB / 0.7737 GB, free: 5.211 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.7386, allocations: 24.17 kB / 0.7738 GB, free: 5.207 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.7386, allocations: 6.938 kB / 0.7738 GB, free: 5.203 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.7386, allocations: 3.656 kB / 0.7738 GB, free: 5.203 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.7386, allocations: 3.984 kB / 0.7738 GB, free: 5.199 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.7386, allocations: 3.688 kB / 0.7738 GB, free: 5.199 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004485/0.7391, allocations: 271.3 kB / 0.774 GB, free: 5.004 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/0.7392, allocations: 146.7 kB / 0.7742 GB, free: 4.875 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.297e-05/0.7393, allocations: 2.281 kB / 0.7742 GB, free: 4.875 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003349/0.7396, allocations: 26.16 kB / 0.7742 GB, free: 4.867 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.222e-05/0.7397, allocations: 7.047 kB / 0.7742 GB, free: 4.863 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.982e-05/0.7397, allocations: 12.61 kB / 0.7742 GB, free: 4.859 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002999/0.74, allocations: 323 kB / 0.7745 GB, free: 4.711 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.74, allocations: 0 / 0.7745 GB, free: 4.711 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006278/0.7407, allocations: 188.3 kB / 0.7747 GB, free: 4.691 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.0003665/0.7411, allocations: 143.1 kB / 0.7748 GB, free: 4.586 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006607/0.7417, allocations: 326 kB / 0.7752 GB, free: 4.441 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.7417, allocations: 6.938 kB / 0.7752 GB, free: 4.438 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.7419, allocations: 54.36 kB / 0.7752 GB, free: 4.414 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000932/0.7428, allocations: 187.4 kB / 0.7754 GB, free: 4.324 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.7439, allocations: 0.7267 MB / 0.7761 GB, free: 3.809 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.7442, allocations: 0.8029 MB / 0.7769 GB, free: 3.051 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003849/0.7446, allocations: 94.89 kB / 0.777 GB, free: 3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.893e-05/0.7447, allocations: 30.28 kB / 0.777 GB, free: 2.996 MB / 0.545 GB Notification: Performance of SimCode: time 1.452e-06/0.7447, allocations: 0 / 0.777 GB, free: 2.996 MB / 0.545 GB Notification: Performance of Templates: time 0.01177/0.7565, allocations: 7.185 MB / 0.784 GB, free: 15.48 MB / 0.5606 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Pressure.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1)