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.0007662/0.0007661, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.005666/0.005666, allocations: 172 kB / 16.27 MB, free: 6.652 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.378/1.378, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001737/0.001736, allocations: 266.5 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9577/0.9577, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004147/0.0004147, allocations: 12.19 kB / 0.5987 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1847, allocations: 88.56 MB / 0.6851 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Pressure): time 0.5643/0.749, allocations: 165 MB / 0.8463 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009494/0.7585, allocations: 7.23 MB / 0.8533 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004983/0.7591, allocations: 9.781 kB / 0.8534 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007956/0.7599, allocations: 176.9 kB / 0.8535 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001665/0.7616, allocations: 0.542 MB / 0.8541 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.7628, allocations: 382 kB / 0.8544 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001251/0.7641, allocations: 1.027 MB / 0.8554 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003794/0.7645, allocations: 226 kB / 0.8556 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007721/0.7652, allocations: 347.8 kB / 0.856 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003107/0.7656, allocations: 213.7 kB / 0.8562 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.412e-05/0.7656, allocations: 9.031 kB / 0.8562 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001556/0.7672, allocations: 0.7786 MB / 0.8569 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.7673, allocations: 104.3 kB / 0.857 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.7675, allocations: 172.6 kB / 0.8572 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000859/0.7684, allocations: 0.5813 MB / 0.8578 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.7684, allocations: 0 / 0.8578 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.106e-06/0.7684, allocations: 0 / 0.8578 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.7684, allocations: 0 / 0.8578 GB, free: 8.988 MB / 0.5762 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.0009852/0.7694, allocations: 0.5815 MB / 0.8583 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.7695, allocations: 14.84 kB / 0.8584 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004126/0.7699, allocations: 72.06 kB / 0.8584 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004176/0.7703, allocations: 301.4 kB / 0.8587 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.7703, allocations: 19.19 kB / 0.8587 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.534e-05/0.7704, allocations: 18.19 kB / 0.8587 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005311/0.7709, allocations: 315.2 kB / 0.859 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.7709, allocations: 0 / 0.859 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/0.771, allocations: 12.44 kB / 0.8591 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.771, allocations: 4.562 kB / 0.8591 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003861/0.7714, allocations: 193.8 kB / 0.8592 GB, free: 7.77 MB / 0.5762 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.001924/0.7733, allocations: 1.703 MB / 0.8609 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002968/0.7736, allocations: 89.12 kB / 0.861 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.7738, allocations: 95.83 kB / 0.8611 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003306/0.7742, allocations: 184.5 kB / 0.8613 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.7742, allocations: 38.5 kB / 0.8613 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/0.7742, allocations: 0 / 0.8613 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0007534/0.775, allocations: 235.4 kB / 0.8615 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.775, allocations: 51.41 kB / 0.8616 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003541/0.7754, allocations: 322.4 kB / 0.8619 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.7754, allocations: 36.77 kB / 0.8619 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.7756, allocations: 200.1 kB / 0.8621 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.7756, allocations: 32.92 kB / 0.8621 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.951e-05/0.7757, allocations: 23.75 kB / 0.8622 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.7758, allocations: 346.7 kB / 0.8625 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.776, allocations: 57.03 kB / 0.8625 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002664/0.7762, allocations: 203.6 kB / 0.8627 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003666/0.7766, allocations: 248.2 kB / 0.863 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.7766, allocations: 0 / 0.863 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004829/0.7771, allocations: 270.5 kB / 0.8632 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001563/0.7773, allocations: 194.1 kB / 0.8634 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.7773, allocations: 2.25 kB / 0.8634 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.7773, allocations: 9.75 kB / 0.8634 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/0.7775, allocations: 50.78 kB / 0.8635 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.7775, allocations: 12.53 kB / 0.8635 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002769/0.7778, allocations: 50.47 kB / 0.8635 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.918e-05/0.7779, allocations: 14.88 kB / 0.8636 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.61e-06/0.7779, allocations: 2.469 kB / 0.8636 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004817/0.7784, allocations: 203 kB / 0.8637 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.7784, allocations: 4.625 kB / 0.8638 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.642e-06/0.7784, allocations: 10.59 kB / 0.8638 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.7785, allocations: 51.41 kB / 0.8638 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.7786, allocations: 5.781 kB / 0.8638 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/0.7788, allocations: 38.72 kB / 0.8639 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.7788, allocations: 14.88 kB / 0.8639 GB, free: 3.809 MB / 0.5762 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.0002271/0.7791, allocations: 232.5 kB / 0.8641 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.711e-05/0.7791, allocations: 30.09 kB / 0.8641 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003869/0.7795, allocations: 186.2 kB / 0.8643 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.7795, allocations: 3.984 kB / 0.8643 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.7795, allocations: 3.938 kB / 0.8643 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.7795, allocations: 4 kB / 0.8643 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009002/0.7804, allocations: 0.6154 MB / 0.8649 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.7805, allocations: 3.281 kB / 0.8649 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.7806, allocations: 25.7 kB / 0.8649 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.7806, allocations: 0 / 0.8649 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.7806, allocations: 2.938 kB / 0.8649 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.7806, allocations: 7.078 kB / 0.8649 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.7806, allocations: 9.766 kB / 0.865 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003803/0.781, allocations: 320.5 kB / 0.8653 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.7811, allocations: 115.8 kB / 0.8654 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/0.7812, allocations: 6.406 kB / 0.8654 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.7814, allocations: 19.77 kB / 0.8654 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.7814, allocations: 12.8 kB / 0.8654 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/0.7814, allocations: 9.562 kB / 0.8654 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002206/0.7816, allocations: 225.8 kB / 0.8656 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7817, allocations: 0 / 0.8656 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005598/0.7822, allocations: 136.3 kB / 0.8658 GB, free: 2.32 MB / 0.5762 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.0004196/0.7826, allocations: 166.7 kB / 0.8659 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00058/0.7832, allocations: 256.6 kB / 0.8662 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.7833, allocations: 0 / 0.8662 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.7834, allocations: 75.08 kB / 0.8662 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.7844, allocations: 135.7 kB / 0.8664 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000901/0.7853, allocations: 0.6033 MB / 0.867 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.7857, allocations: 0.775 MB / 0.8677 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002744/0.786, allocations: 80.48 kB / 0.8678 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.752e-05/0.7861, allocations: 30.28 kB / 0.8678 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of SimCode: time 2.1e-07/0.7861, allocations: 0 / 0.8678 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of Templates: time 0.009076/0.7952, allocations: 4.737 MB / 0.8724 GB, free: 14.4 MB / 0.5919 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)