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: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.Pressure,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.Pressure,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001044, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008724/0.008724, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.31/1.31, allocations: 223.2 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001819/0.001819, allocations: 267.1 kB / 291.7 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8832/0.8832, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005585/0.0005582, allocations: 16.47 kB / 0.5988 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1538, allocations: 88.54 MB / 0.6852 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Pressure): time 0.4257/0.5796, allocations: 165 MB / 0.8464 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007205/0.5868, allocations: 7.226 MB / 0.8534 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000226/0.5871, allocations: 9.219 kB / 0.8535 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005443/0.5876, allocations: 181.4 kB / 0.8536 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001075/0.5887, allocations: 0.5422 MB / 0.8542 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008304/0.5895, allocations: 382.4 kB / 0.8545 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008798/0.5904, allocations: 1.032 MB / 0.8555 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003194/0.5908, allocations: 221.1 kB / 0.8557 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005701/0.5913, allocations: 341.1 kB / 0.8561 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/0.5916, allocations: 226.1 kB / 0.8563 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.848e-05/0.5916, allocations: 10.84 kB / 0.8563 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009511/0.5926, allocations: 0.776 MB / 0.8571 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.5927, allocations: 96.06 kB / 0.8571 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.5929, allocations: 173.5 kB / 0.8573 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006069/0.5935, allocations: 0.5762 MB / 0.8579 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.5935, allocations: 0 / 0.8579 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.026e-06/0.5935, allocations: 0 / 0.8579 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.866e-06/0.5935, allocations: 6.781 kB / 0.8579 GB, free: 8.848 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.0007003/0.5942, allocations: 0.5964 MB / 0.8585 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.5942, allocations: 8.031 kB / 0.8585 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.42e-05/0.5943, allocations: 57.05 kB / 0.8585 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003103/0.5946, allocations: 68.27 kB / 0.8586 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.5949, allocations: 296.7 kB / 0.8589 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.595, allocations: 19.28 kB / 0.8589 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.233e-05/0.595, allocations: 20.72 kB / 0.8589 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004536/0.5955, allocations: 317.3 kB / 0.8592 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.5955, allocations: 0 / 0.8592 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/0.5955, allocations: 17.06 kB / 0.8592 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-06/0.5955, allocations: 6.844 kB / 0.8592 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003574/0.5959, allocations: 188.3 kB / 0.8594 GB, free: 7.566 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.0014/0.5973, allocations: 1.7 MB / 0.8611 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.5975, allocations: 96.92 kB / 0.8612 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.5977, allocations: 83.64 kB / 0.8612 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000233/0.5979, allocations: 194.8 kB / 0.8614 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.598, allocations: 38.55 kB / 0.8615 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.598, allocations: 0 / 0.8615 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0006247/0.5986, allocations: 244.7 kB / 0.8617 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.5987, allocations: 54.31 kB / 0.8618 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002749/0.5989, allocations: 315.9 kB / 0.8621 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.599, allocations: 27.83 kB / 0.8621 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.5991, allocations: 203.3 kB / 0.8623 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.5991, allocations: 36.64 kB / 0.8623 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.5992, allocations: 27.48 kB / 0.8623 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.5993, allocations: 336.8 kB / 0.8627 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.5994, allocations: 63.17 kB / 0.8627 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002257/0.5997, allocations: 200.1 kB / 0.8629 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003465/0.6, allocations: 243.9 kB / 0.8631 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.6, allocations: 6.469 kB / 0.8631 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004471/0.6005, allocations: 264.1 kB / 0.8634 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.765e-05/0.6006, allocations: 198 kB / 0.8636 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.6006, allocations: 13.25 kB / 0.8636 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.6006, allocations: 5.531 kB / 0.8636 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.6008, allocations: 49.7 kB / 0.8637 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.487e-06/0.6008, allocations: 7.203 kB / 0.8637 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000244/0.6011, allocations: 42.2 kB / 0.8637 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.6011, allocations: 10.78 kB / 0.8637 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.891e-06/0.6011, allocations: 9.938 kB / 0.8637 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003795/0.6015, allocations: 210.6 kB / 0.8639 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.6015, allocations: 2.969 kB / 0.8639 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.051e-06/0.6015, allocations: 9.688 kB / 0.8639 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.6017, allocations: 46.8 kB / 0.864 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.6017, allocations: 6.922 kB / 0.864 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/0.6019, allocations: 38.42 kB / 0.864 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.6019, allocations: 11.69 kB / 0.864 GB, free: 3.609 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.0001484/0.6021, allocations: 236.1 kB / 0.8643 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.782e-05/0.6022, allocations: 33.31 kB / 0.8643 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003688/0.6025, allocations: 186.6 kB / 0.8645 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.6025, allocations: 3.062 kB / 0.8645 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.6025, allocations: 3.984 kB / 0.8645 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.6026, allocations: 0 / 0.8645 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008407/0.6034, allocations: 0.6125 MB / 0.8651 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.6034, allocations: 2.938 kB / 0.8651 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.6035, allocations: 33.86 kB / 0.8651 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.6035, allocations: 2.938 kB / 0.8651 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.6036, allocations: 2.969 kB / 0.8651 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.6036, allocations: 6.891 kB / 0.8651 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.6036, allocations: 3.312 kB / 0.8651 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003566/0.6039, allocations: 320 kB / 0.8654 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.592e-05/0.604, allocations: 114.5 kB / 0.8655 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/0.6041, allocations: 6.891 kB / 0.8655 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.6043, allocations: 23.7 kB / 0.8656 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.6043, allocations: 15.11 kB / 0.8656 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.6043, allocations: 4.656 kB / 0.8656 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001849/0.6045, allocations: 232.4 kB / 0.8658 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6045, allocations: 0 / 0.8658 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004989/0.605, allocations: 133.2 kB / 0.8659 GB, free: 2.113 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.0007905/0.6058, allocations: 0.9012 MB / 0.8668 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005577/0.6064, allocations: 260.8 kB / 0.8671 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.6064, allocations: 3.938 kB / 0.8671 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.6066, allocations: 74.45 kB / 0.8671 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009055/0.6075, allocations: 135.4 kB / 0.8673 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003023/0.6105, allocations: 2.928 MB / 0.8701 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.6108, allocations: 0.7802 MB / 0.8709 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002551/0.6111, allocations: 87.12 kB / 0.871 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.6112, allocations: 87.41 kB / 0.8711 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of SimCode: time 2.7e-07/0.6112, allocations: 0 / 0.8711 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9652/1.576, allocations: 7.487 MB / 0.8784 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002266/1.577, allocations: 241 kB / 0.8786 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.871/3.448, allocations: 0 / 0.8786 GB, free: 9.051 MB / 0.5919 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Pressure.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.pipe 2>&1)