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.004346/0.004346, allocations: 104.8 kB / 15.74 MB, free: 6.039 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.0009737/0.0009737, allocations: 196.3 kB / 16.68 MB, free: 5.957 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002058/0.002058, allocations: 294.4 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9501/0.9501, allocations: 169.3 MB / 0.4983 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 107.8 kB / 0.6815 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5326/0.5343, allocations: 86.98 MB / 0.7664 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Pressure): time 0.1819/0.7163, allocations: 169.4 MB / 0.9319 GB, free: 9.84 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.008269/0.7246, allocations: 7.309 MB / 0.939 GB, free: 2.508 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006197/0.7253, allocations: 15.88 kB / 0.939 GB, free: 2.492 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0007528/0.7262, allocations: 210.6 kB / 0.9392 GB, free: 2.285 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001555/0.7277, allocations: 0.5716 MB / 0.9398 GB, free: 1.711 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.729, allocations: 439.4 kB / 0.9402 GB, free: 1.285 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0009164/0.73, allocations: 0.709 MB / 0.9409 GB, free: 0.5742 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003937/0.7304, allocations: 261.8 kB / 0.9411 GB, free: 332 kB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007266/0.7311, allocations: 386.6 kB / 0.9415 GB, free: 15.94 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000274/0.7314, allocations: 218.9 kB / 0.9417 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.32e-05/0.7314, allocations: 20 kB / 0.9417 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001229/0.7327, allocations: 0.6977 MB / 0.9424 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.7328, allocations: 115.6 kB / 0.9425 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001608/0.733, allocations: 155.2 kB / 0.9427 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008644/0.7339, allocations: 0.5764 MB / 0.9432 GB, free: 14.17 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.7339, allocations: 0 / 0.9432 GB, free: 14.17 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.072e-06/0.7339, allocations: 0 / 0.9432 GB, free: 14.17 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.7339, allocations: 0 / 0.9432 GB, free: 14.17 MB / 0.7169 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.0009288/0.7348, allocations: 0.6427 MB / 0.9439 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.7349, allocations: 12.03 kB / 0.9439 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003754/0.7353, allocations: 75.42 kB / 0.944 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004337/0.7357, allocations: 322.1 kB / 0.9443 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.7357, allocations: 16.44 kB / 0.9443 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.463e-05/0.7358, allocations: 24 kB / 0.9443 GB, free: 13 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000465/0.7363, allocations: 304.6 kB / 0.9446 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.7363, allocations: 0 / 0.9446 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/0.7363, allocations: 11.94 kB / 0.9446 GB, free: 12.65 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.7363, allocations: 4 kB / 0.9446 GB, free: 12.65 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003477/0.7367, allocations: 180.3 kB / 0.9448 GB, free: 12.47 MB / 0.7169 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.001531/0.7382, allocations: 1.686 MB / 0.9464 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002508/0.7385, allocations: 90.5 kB / 0.9465 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.7386, allocations: 80.84 kB / 0.9466 GB, free: 10.49 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002725/0.7389, allocations: 186.1 kB / 0.9468 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.739, allocations: 38.5 kB / 0.9468 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.739, allocations: 4 kB / 0.9468 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0006559/0.7396, allocations: 221.2 kB / 0.947 GB, free: 9.996 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.7397, allocations: 51.41 kB / 0.9471 GB, free: 9.934 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/0.74, allocations: 324.4 kB / 0.9474 GB, free: 9.605 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.74, allocations: 33.7 kB / 0.9474 GB, free: 9.566 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.7402, allocations: 195.9 kB / 0.9476 GB, free: 9.371 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/0.7402, allocations: 39.45 kB / 0.9476 GB, free: 9.332 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.472e-05/0.7403, allocations: 53.61 kB / 0.9477 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.7404, allocations: 338.8 kB / 0.948 GB, free: 8.934 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.7406, allocations: 64.75 kB / 0.9481 GB, free: 8.867 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002385/0.7408, allocations: 194.7 kB / 0.9483 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003386/0.7412, allocations: 237.5 kB / 0.9485 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.7412, allocations: 4 kB / 0.9485 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004329/0.7416, allocations: 252.9 kB / 0.9487 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.7416, allocations: 6.5 kB / 0.9487 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.7417, allocations: 4.406 kB / 0.9487 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.7417, allocations: 8 kB / 0.9487 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.7418, allocations: 47.91 kB / 0.9488 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.7419, allocations: 8 kB / 0.9488 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002215/0.7421, allocations: 39.66 kB / 0.9488 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.868e-05/0.7421, allocations: 16 kB / 0.9489 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000211/0.7423, allocations: 168.1 kB / 0.949 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002238/0.7426, allocations: 195.7 kB / 0.9492 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000318/0.7429, allocations: 229.5 kB / 0.9494 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.296e-06/0.7429, allocations: 3.984 kB / 0.9494 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000419/0.7433, allocations: 256.8 kB / 0.9497 GB, free: 7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.7434, allocations: 11.94 kB / 0.9497 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.7434, allocations: 4.406 kB / 0.9497 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.241e-06/0.7434, allocations: 8 kB / 0.9497 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.7436, allocations: 47.91 kB / 0.9497 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.7436, allocations: 4 kB / 0.9497 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.7438, allocations: 27.83 kB / 0.9498 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.7438, allocations: 12.28 kB / 0.9498 GB, free: 6.887 MB / 0.7169 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.0001103/0.7439, allocations: 196.2 kB / 0.95 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.579e-05/0.744, allocations: 27.66 kB / 0.95 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003647/0.7444, allocations: 176.3 kB / 0.9502 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.7444, allocations: 3.984 kB / 0.9502 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.7444, allocations: 0 / 0.9502 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.7444, allocations: 8 kB / 0.9502 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008483/0.7452, allocations: 0.6092 MB / 0.9508 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.7453, allocations: 4 kB / 0.9508 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.7454, allocations: 27.92 kB / 0.9508 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.7454, allocations: 0 / 0.9508 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.7454, allocations: 4 kB / 0.9508 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.7454, allocations: 12.2 kB / 0.9508 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.7454, allocations: 3.938 kB / 0.9508 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003658/0.7458, allocations: 305 kB / 0.9511 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.279e-05/0.7459, allocations: 112.7 kB / 0.9512 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.503e-05/0.7459, allocations: 3.984 kB / 0.9512 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.7461, allocations: 12 kB / 0.9512 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.7462, allocations: 15.92 kB / 0.9512 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.7462, allocations: 8 kB / 0.9513 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002026/0.7464, allocations: 223 kB / 0.9515 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7464, allocations: 4 kB / 0.9515 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005416/0.7469, allocations: 127.8 kB / 0.9516 GB, free: 4.879 MB / 0.7169 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.0003647/0.7473, allocations: 171 kB / 0.9518 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005512/0.7479, allocations: 249.5 kB / 0.952 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7479, allocations: 0 / 0.952 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.748, allocations: 64.41 kB / 0.9521 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006895/0.7487, allocations: 126.2 kB / 0.9522 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007442/0.7495, allocations: 0.4931 MB / 0.9527 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.7498, allocations: 0.7795 MB / 0.9534 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002129/0.75, allocations: 86.83 kB / 0.9535 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.762e-05/0.7501, allocations: 23.44 kB / 0.9535 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7501, allocations: 3.938 kB / 0.9535 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of Templates: time 0.3722/1.122, allocations: 4.974 MB / 0.9584 GB, free: 190 MB / 0.7169 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)