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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7976/0.7976, allocations: 143.4 MB / 159.2 MB, free: 4.938 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 182.8 kB / 191.9 MB, free: 5.734 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 447.3 MB, free: 5.863 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009849/0.0009848, allocations: 103.7 kB / 0.517 GB, free: 3.711 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001855/0.001855, allocations: 287.7 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 84.25 kB / 0.6885 GB, free: 3.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3542, allocations: 81.29 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Pressure): time 0.5729/0.9272, allocations: 167.2 MB / 0.9312 GB, free: 384 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01202/0.9392, allocations: 7.333 MB / 0.9384 GB, free: 204 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009288/0.9402, allocations: 10.28 kB / 0.9384 GB, free: 204 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0009327/0.9412, allocations: 178.6 kB / 0.9386 GB, free: 196 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002112/0.9433, allocations: 0.5512 MB / 0.9391 GB, free: 164 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001783/0.9451, allocations: 378.3 kB / 0.9395 GB, free: 144 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001634/0.9468, allocations: 1.029 MB / 0.9405 GB, free: 144 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005826/0.9474, allocations: 223.3 kB / 0.9407 GB, free: 124 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001167/0.9486, allocations: 347.3 kB / 0.941 GB, free: 116 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004954/0.9491, allocations: 229.9 kB / 0.9412 GB, free: 116 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 6.627e-05/0.9492, allocations: 13.53 kB / 0.9412 GB, free: 116 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002162/0.9513, allocations: 0.7795 MB / 0.942 GB, free: 108 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001888/0.9516, allocations: 103.6 kB / 0.9421 GB, free: 108 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002672/0.9518, allocations: 149.9 kB / 0.9422 GB, free: 108 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.953, allocations: 0.5856 MB / 0.9428 GB, free: 68 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.9531, allocations: 0 / 0.9428 GB, free: 68 kB / 0.5573 GB Notification: Performance of FrontEnd: time 1.292e-06/0.9531, allocations: 0 / 0.9428 GB, free: 68 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.9531, allocations: 4 kB / 0.9428 GB, free: 64 kB / 0.5573 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.00121/0.9543, allocations: 0.6401 MB / 0.9434 GB, free: 15.57 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.9544, allocations: 10.44 kB / 0.9434 GB, free: 15.57 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004923/0.9549, allocations: 63.95 kB / 0.9435 GB, free: 15.55 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005112/0.9554, allocations: 313.6 kB / 0.9438 GB, free: 15.32 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.9554, allocations: 17.69 kB / 0.9438 GB, free: 15.32 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.216e-05/0.9555, allocations: 30.78 kB / 0.9439 GB, free: 15.31 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006727/0.9562, allocations: 294.8 kB / 0.9441 GB, free: 15.2 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.9562, allocations: 5.781 kB / 0.9441 GB, free: 15.19 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/0.9563, allocations: 15.34 kB / 0.9442 GB, free: 15.19 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.9563, allocations: 6.375 kB / 0.9442 GB, free: 15.19 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000544/0.9568, allocations: 170.7 kB / 0.9443 GB, free: 15.19 MB / 0.573 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.00225/0.9591, allocations: 1.698 MB / 0.946 GB, free: 13.88 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003535/0.9595, allocations: 86.84 kB / 0.9461 GB, free: 13.86 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002563/0.9598, allocations: 80.03 kB / 0.9461 GB, free: 13.85 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004203/0.9602, allocations: 185.8 kB / 0.9463 GB, free: 13.66 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.9603, allocations: 48.45 kB / 0.9464 GB, free: 13.61 MB / 0.573 GB Notification: Performance of pre-optimization done (n=11): time 3.316e-06/0.9603, allocations: 0 / 0.9464 GB, free: 13.61 MB / 0.573 GB Notification: Performance of matching and sorting (n=11): time 0.001012/0.9613, allocations: 220.3 kB / 0.9466 GB, free: 13.57 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.9614, allocations: 53.19 kB / 0.9466 GB, free: 13.5 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004574/0.9618, allocations: 317.5 kB / 0.9469 GB, free: 13.4 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.551e-05/0.9619, allocations: 28.95 kB / 0.947 GB, free: 13.37 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.9621, allocations: 202.2 kB / 0.9472 GB, free: 13.24 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 4.807e-05/0.9621, allocations: 39.72 kB / 0.9472 GB, free: 13.22 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.9623, allocations: 50.19 kB / 0.9472 GB, free: 13.2 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.9624, allocations: 338.5 kB / 0.9476 GB, free: 12.89 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.9627, allocations: 57.92 kB / 0.9476 GB, free: 12.88 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003878/0.9631, allocations: 199 kB / 0.9478 GB, free: 12.71 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005813/0.9637, allocations: 241.3 kB / 0.948 GB, free: 12.57 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.9637, allocations: 4 kB / 0.948 GB, free: 12.57 MB / 0.573 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007321/0.9645, allocations: 252.2 kB / 0.9483 GB, free: 12.52 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.9645, allocations: 6.25 kB / 0.9483 GB, free: 12.52 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.9645, allocations: 6.781 kB / 0.9483 GB, free: 12.52 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/0.9646, allocations: 6.125 kB / 0.9483 GB, free: 12.52 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002871/0.9649, allocations: 46.88 kB / 0.9483 GB, free: 12.52 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.749e-05/0.9649, allocations: 11.06 kB / 0.9484 GB, free: 12.52 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004627/0.9654, allocations: 39.3 kB / 0.9484 GB, free: 12.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.975e-05/0.9654, allocations: 16.38 kB / 0.9484 GB, free: 12.5 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000335/0.9658, allocations: 170.1 kB / 0.9486 GB, free: 12.42 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003139/0.9661, allocations: 197.5 kB / 0.9488 GB, free: 12.25 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004415/0.9666, allocations: 231.2 kB / 0.949 GB, free: 12.12 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.575e-06/0.9666, allocations: 0 / 0.949 GB, free: 12.12 MB / 0.573 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0006248/0.9672, allocations: 249.2 kB / 0.9492 GB, free: 12.07 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.9672, allocations: 11.06 kB / 0.9492 GB, free: 12.07 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.9673, allocations: 6.219 kB / 0.9492 GB, free: 12.07 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.9673, allocations: 12.25 kB / 0.9492 GB, free: 12.06 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.9675, allocations: 52.61 kB / 0.9493 GB, free: 12.06 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.9675, allocations: 5.469 kB / 0.9493 GB, free: 12.06 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000355/0.9679, allocations: 32.89 kB / 0.9493 GB, free: 12.05 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.858e-05/0.968, allocations: 11.03 kB / 0.9493 GB, free: 12.05 MB / 0.573 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.0001747/0.9681, allocations: 195.6 kB / 0.9495 GB, free: 11.87 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.876e-05/0.9682, allocations: 38.73 kB / 0.9496 GB, free: 11.85 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005162/0.9688, allocations: 166.8 kB / 0.9497 GB, free: 11.81 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.9688, allocations: 2.594 kB / 0.9497 GB, free: 11.81 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.9688, allocations: 0 / 0.9497 GB, free: 11.81 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.9688, allocations: 0 / 0.9497 GB, free: 11.81 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.9699, allocations: 0.6121 MB / 0.9503 GB, free: 11.45 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.9699, allocations: 4.797 kB / 0.9503 GB, free: 11.45 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/0.9701, allocations: 28.52 kB / 0.9504 GB, free: 11.44 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.9701, allocations: 2.875 kB / 0.9504 GB, free: 11.44 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.9701, allocations: 8.75 kB / 0.9504 GB, free: 11.44 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.9701, allocations: 3.031 kB / 0.9504 GB, free: 11.44 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.9701, allocations: 2.625 kB / 0.9504 GB, free: 11.44 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009401/0.9711, allocations: 0.9416 MB / 0.9513 GB, free: 10.65 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.9712, allocations: 120.2 kB / 0.9514 GB, free: 10.54 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.536e-05/0.9713, allocations: 4.797 kB / 0.9514 GB, free: 10.54 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000256/0.9715, allocations: 11.56 kB / 0.9514 GB, free: 10.54 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.497e-05/0.9716, allocations: 15.34 kB / 0.9514 GB, free: 10.54 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.9716, allocations: 5.656 kB / 0.9514 GB, free: 10.54 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002523/0.9719, allocations: 227.4 kB / 0.9517 GB, free: 10.46 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9719, allocations: 4 kB / 0.9517 GB, free: 10.45 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.000809/0.9727, allocations: 133.3 kB / 0.9518 GB, free: 10.44 MB / 0.573 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.0003906/0.9731, allocations: 176.8 kB / 0.952 GB, free: 10.33 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0005313/0.9736, allocations: 244.8 kB / 0.9522 GB, free: 10.32 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.9736, allocations: 0 / 0.9522 GB, free: 10.32 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.9738, allocations: 69.86 kB / 0.9523 GB, free: 10.32 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008999/0.9747, allocations: 137 kB / 0.9524 GB, free: 10.31 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009596/0.9757, allocations: 0.7149 MB / 0.9531 GB, free: 9.801 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.9761, allocations: 0.7833 MB / 0.9539 GB, free: 9.102 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002744/0.9763, allocations: 85.75 kB / 0.9539 GB, free: 9.09 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.926e-05/0.9764, allocations: 25.16 kB / 0.954 GB, free: 9.082 MB / 0.573 GB Notification: Performance of SimCode: time 5.01e-07/0.9764, allocations: 0 / 0.954 GB, free: 9.082 MB / 0.573 GB Notification: Performance of Templates: time 0.008351/0.9848, allocations: 4.861 MB / 0.9587 GB, free: 8.742 MB / 0.573 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)