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.004709/0.004709, allocations: 100.5 kB / 15.73 MB, free: 6.051 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.00103/0.00103, allocations: 199.3 kB / 16.67 MB, free: 5.977 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.355/1.355, allocations: 222.9 MB / 240.3 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002332/0.002332, allocations: 286.1 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9611/0.9611, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002748/0.002748, allocations: 95.84 kB / 0.6815 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1781, allocations: 86.98 MB / 0.7664 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Pressure): time 0.6344/0.8126, allocations: 169.4 MB / 0.9319 GB, free: 9.297 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.007791/0.8204, allocations: 7.308 MB / 0.939 GB, free: 1.969 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004885/0.8209, allocations: 15.88 kB / 0.939 GB, free: 1.953 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006585/0.8216, allocations: 214.6 kB / 0.9392 GB, free: 1.742 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001295/0.8229, allocations: 0.5677 MB / 0.9398 GB, free: 1.172 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.8241, allocations: 439.3 kB / 0.9402 GB, free: 0.7461 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0008098/0.8249, allocations: 0.7012 MB / 0.9409 GB, free: 44 kB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003851/0.8253, allocations: 271.5 kB / 0.9411 GB, free: 15.78 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006134/0.8259, allocations: 382.5 kB / 0.9415 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000252/0.8262, allocations: 211.1 kB / 0.9417 GB, free: 15.2 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.744e-05/0.8262, allocations: 20 kB / 0.9417 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.8273, allocations: 0.7054 MB / 0.9424 GB, free: 14.47 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.8274, allocations: 111.7 kB / 0.9425 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.8275, allocations: 159.2 kB / 0.9427 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.000713/0.8283, allocations: 0.5751 MB / 0.9432 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.8283, allocations: 0 / 0.9432 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.142e-06/0.8283, allocations: 0 / 0.9432 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.8283, allocations: 0 / 0.9432 GB, free: 13.64 MB / 0.7012 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.0008043/0.8291, allocations: 0.6433 MB / 0.9439 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.8291, allocations: 12.03 kB / 0.9439 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003108/0.8295, allocations: 64.19 kB / 0.9439 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004754/0.8299, allocations: 334 kB / 0.9443 GB, free: 12.51 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.83, allocations: 12.44 kB / 0.9443 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/0.83, allocations: 27.98 kB / 0.9443 GB, free: 12.47 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004502/0.8305, allocations: 300.6 kB / 0.9446 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.8305, allocations: 0 / 0.9446 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.8305, allocations: 15.94 kB / 0.9446 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.8305, allocations: 4 kB / 0.9446 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003598/0.8309, allocations: 179.6 kB / 0.9448 GB, free: 11.94 MB / 0.7012 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.001523/0.8324, allocations: 1.699 MB / 0.9464 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002342/0.8327, allocations: 86.61 kB / 0.9465 GB, free: 10.03 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.8328, allocations: 76.75 kB / 0.9466 GB, free: 9.953 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002528/0.8331, allocations: 186.2 kB / 0.9468 GB, free: 9.734 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.8331, allocations: 38.48 kB / 0.9468 GB, free: 9.688 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.8331, allocations: 4 kB / 0.9468 GB, free: 9.684 MB / 0.7012 GB Notification: Performance of matching and sorting (n=11): time 0.0006408/0.8338, allocations: 226.6 kB / 0.947 GB, free: 9.457 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.8338, allocations: 51.41 kB / 0.9471 GB, free: 9.395 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002973/0.8341, allocations: 316.5 kB / 0.9474 GB, free: 9.07 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.8342, allocations: 29.7 kB / 0.9474 GB, free: 9.035 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.8343, allocations: 195.8 kB / 0.9476 GB, free: 8.84 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.8343, allocations: 47.44 kB / 0.9476 GB, free: 8.793 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.165e-05/0.8344, allocations: 49.61 kB / 0.9477 GB, free: 8.738 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.8345, allocations: 334.8 kB / 0.948 GB, free: 8.402 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.8347, allocations: 68.75 kB / 0.9481 GB, free: 8.332 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002396/0.8349, allocations: 187.2 kB / 0.9482 GB, free: 8.09 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003525/0.8353, allocations: 241.4 kB / 0.9485 GB, free: 7.805 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.8353, allocations: 4 kB / 0.9485 GB, free: 7.801 MB / 0.7012 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004751/0.8358, allocations: 252.9 kB / 0.9487 GB, free: 7.547 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.8358, allocations: 4 kB / 0.9487 GB, free: 7.543 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.8358, allocations: 8.391 kB / 0.9487 GB, free: 7.535 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.8358, allocations: 8 kB / 0.9487 GB, free: 7.527 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.836, allocations: 43.92 kB / 0.9488 GB, free: 7.484 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.8361, allocations: 14.23 kB / 0.9488 GB, free: 7.473 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/0.8363, allocations: 35.67 kB / 0.9488 GB, free: 7.438 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.8363, allocations: 12 kB / 0.9488 GB, free: 7.426 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002153/0.8365, allocations: 168.1 kB / 0.949 GB, free: 7.258 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002281/0.8368, allocations: 196.9 kB / 0.9492 GB, free: 7.004 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003342/0.8371, allocations: 229.4 kB / 0.9494 GB, free: 6.73 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.583e-06/0.8371, allocations: 3.938 kB / 0.9494 GB, free: 6.727 MB / 0.7012 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004427/0.8376, allocations: 252.9 kB / 0.9497 GB, free: 6.473 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 9.829e-06/0.8376, allocations: 11.94 kB / 0.9497 GB, free: 6.461 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.8376, allocations: 4.406 kB / 0.9497 GB, free: 6.457 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.628e-06/0.8376, allocations: 8.281 kB / 0.9497 GB, free: 6.449 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.8378, allocations: 51.91 kB / 0.9497 GB, free: 6.398 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.8378, allocations: 4 kB / 0.9497 GB, free: 6.395 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/0.838, allocations: 23.83 kB / 0.9498 GB, free: 6.371 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.8381, allocations: 16 kB / 0.9498 GB, free: 6.355 MB / 0.7012 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 9.508e-05/0.8382, allocations: 199.2 kB / 0.95 GB, free: 6.156 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.193e-05/0.8382, allocations: 39.62 kB / 0.95 GB, free: 6.117 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00037/0.8386, allocations: 174.7 kB / 0.9502 GB, free: 5.938 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.8386, allocations: 0 / 0.9502 GB, free: 5.938 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.8386, allocations: 0 / 0.9502 GB, free: 5.938 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.8386, allocations: 0 / 0.9502 GB, free: 5.938 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008742/0.8395, allocations: 0.6092 MB / 0.9508 GB, free: 5.25 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.8395, allocations: 4 kB / 0.9508 GB, free: 5.246 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.8396, allocations: 30.86 kB / 0.9508 GB, free: 5.219 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.8397, allocations: 3.984 kB / 0.9508 GB, free: 5.215 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.8397, allocations: 8 kB / 0.9508 GB, free: 5.207 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.8397, allocations: 8.219 kB / 0.9508 GB, free: 5.199 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.8397, allocations: 0 / 0.9508 GB, free: 5.199 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003982/0.8401, allocations: 301.1 kB / 0.9511 GB, free: 4.867 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.8402, allocations: 112.7 kB / 0.9512 GB, free: 4.738 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.55e-05/0.8403, allocations: 7.984 kB / 0.9512 GB, free: 4.73 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.8404, allocations: 11.98 kB / 0.9512 GB, free: 4.719 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.8405, allocations: 15.94 kB / 0.9512 GB, free: 4.703 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.8405, allocations: 4 kB / 0.9512 GB, free: 4.699 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001983/0.8407, allocations: 231 kB / 0.9515 GB, free: 4.473 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8407, allocations: 0 / 0.9515 GB, free: 4.473 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.00053/0.8412, allocations: 135.8 kB / 0.9516 GB, free: 4.34 MB / 0.7012 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.0003246/0.8416, allocations: 155.2 kB / 0.9517 GB, free: 4.188 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0005381/0.8421, allocations: 253.5 kB / 0.952 GB, free: 3.941 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8421, allocations: 0 / 0.952 GB, free: 3.941 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.8423, allocations: 72.33 kB / 0.9521 GB, free: 3.871 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007129/0.843, allocations: 125.5 kB / 0.9522 GB, free: 3.762 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007016/0.8437, allocations: 0.5048 MB / 0.9527 GB, free: 3.211 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.844, allocations: 0.7756 MB / 0.9534 GB, free: 2.41 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0002238/0.8443, allocations: 84.45 kB / 0.9535 GB, free: 2.328 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.654e-05/0.8443, allocations: 23.44 kB / 0.9535 GB, free: 2.305 MB / 0.7012 GB Notification: Performance of SimCode: time 2.2e-07/0.8443, allocations: 0 / 0.9535 GB, free: 2.305 MB / 0.7012 GB Notification: Performance of Templates: time 0.008698/0.8531, allocations: 4.981 MB / 0.9584 GB, free: 13.41 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)