Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_8_Buildings_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.001565/0.001565, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001903/0.001903, allocations: 193.9 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.463/1.463, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.75/1.75, allocations: 292.3 MB / 0.5489 GB, free: 12.88 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 72.2 kB / 0.6716 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2138, allocations: 114.5 MB / 0.7835 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.6639/0.8777, allocations: 169.5 MB / 0.949 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008873/0.8867, allocations: 7.315 MB / 0.9561 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007063/0.8874, allocations: 11.22 kB / 0.9561 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007574/0.8882, allocations: 214.9 kB / 0.9563 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001622/0.8898, allocations: 0.567 MB / 0.9569 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.8913, allocations: 439 kB / 0.9573 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009912/0.8923, allocations: 0.7015 MB / 0.958 GB, free: 452 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004476/0.8927, allocations: 267.8 kB / 0.9582 GB, free: 424 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000779/0.8935, allocations: 370.8 kB / 0.9586 GB, free: 376 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003457/0.8939, allocations: 226.8 kB / 0.9588 GB, free: 360 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.972e-05/0.8939, allocations: 18.56 kB / 0.9588 GB, free: 360 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001415/0.8954, allocations: 0.6944 MB / 0.9595 GB, free: 304 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.8955, allocations: 107.6 kB / 0.9596 GB, free: 300 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001815/0.8957, allocations: 163.8 kB / 0.9598 GB, free: 296 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008439/0.8965, allocations: 0.5626 MB / 0.9603 GB, free: 252 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.8966, allocations: 0 / 0.9603 GB, free: 252 kB / 0.7169 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8966, allocations: 3.938 kB / 0.9603 GB, free: 248 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.8966, allocations: 1.188 kB / 0.9603 GB, free: 248 kB / 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.0009719/0.8976, allocations: 0.6494 MB / 0.9609 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.8976, allocations: 9.656 kB / 0.9609 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.64e-05/0.8977, allocations: 55.83 kB / 0.961 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003529/0.8981, allocations: 64.53 kB / 0.9611 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004167/0.8985, allocations: 308 kB / 0.9614 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.8985, allocations: 17.25 kB / 0.9614 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.461e-05/0.8986, allocations: 23.44 kB / 0.9614 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005507/0.8991, allocations: 300.2 kB / 0.9617 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.8992, allocations: 9.344 kB / 0.9617 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.8992, allocations: 13.41 kB / 0.9617 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.8992, allocations: 5.125 kB / 0.9617 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003845/0.8996, allocations: 172.9 kB / 0.9619 GB, free: 15.3 MB / 0.7325 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.001672/0.9013, allocations: 1.696 MB / 0.9635 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002644/0.9016, allocations: 97.66 kB / 0.9636 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/0.9017, allocations: 77.92 kB / 0.9637 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000281/0.902, allocations: 190.4 kB / 0.9639 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.9021, allocations: 43.38 kB / 0.9639 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.9021, allocations: 0 / 0.9639 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.000687/0.9028, allocations: 214.6 kB / 0.9641 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.9028, allocations: 57.44 kB / 0.9642 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003058/0.9031, allocations: 321.5 kB / 0.9645 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.9032, allocations: 34.45 kB / 0.9645 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.9033, allocations: 199.1 kB / 0.9647 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.9034, allocations: 41.88 kB / 0.9647 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.136e-05/0.9034, allocations: 48.38 kB / 0.9648 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.9036, allocations: 336.7 kB / 0.9651 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.9037, allocations: 62.94 kB / 0.9652 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.904, allocations: 194.6 kB / 0.9654 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003576/0.9043, allocations: 237 kB / 0.9656 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.9044, allocations: 1.281 kB / 0.9656 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004574/0.9048, allocations: 249.9 kB / 0.9658 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.9048, allocations: 9.188 kB / 0.9658 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.9049, allocations: 8.344 kB / 0.9658 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.9049, allocations: 4.75 kB / 0.9658 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.9051, allocations: 50.56 kB / 0.9659 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/0.9051, allocations: 11.41 kB / 0.9659 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002499/0.9053, allocations: 37.67 kB / 0.9659 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.017e-05/0.9054, allocations: 12.84 kB / 0.966 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002267/0.9056, allocations: 168.2 kB / 0.9661 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002454/0.9059, allocations: 184.8 kB / 0.9663 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003577/0.9062, allocations: 246.9 kB / 0.9665 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.925e-06/0.9063, allocations: 5.125 kB / 0.9665 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000457/0.9067, allocations: 242.2 kB / 0.9668 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.9067, allocations: 11.66 kB / 0.9668 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.9068, allocations: 7.719 kB / 0.9668 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.841e-06/0.9068, allocations: 5.875 kB / 0.9668 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.9069, allocations: 48.89 kB / 0.9668 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.907, allocations: 11.5 kB / 0.9668 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002418/0.9072, allocations: 26.22 kB / 0.9669 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.9072, allocations: 10.88 kB / 0.9669 GB, free: 12.07 MB / 0.7325 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.0001141/0.9074, allocations: 192.5 kB / 0.9671 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.315e-05/0.9074, allocations: 37.53 kB / 0.9671 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003641/0.9078, allocations: 166.8 kB / 0.9673 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.9078, allocations: 1.281 kB / 0.9673 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.9078, allocations: 0 / 0.9673 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.9078, allocations: 1.406 kB / 0.9673 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008774/0.9087, allocations: 0.6099 MB / 0.9679 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.9087, allocations: 3.062 kB / 0.9679 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.9088, allocations: 29.39 kB / 0.9679 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.9089, allocations: 2.469 kB / 0.9679 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.9089, allocations: 7.562 kB / 0.9679 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.9089, allocations: 6.172 kB / 0.9679 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.9089, allocations: 8.125 kB / 0.9679 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003985/0.9093, allocations: 298.2 kB / 0.9682 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.9094, allocations: 116.4 kB / 0.9683 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.909e-05/0.9095, allocations: 3.469 kB / 0.9683 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.9096, allocations: 11.03 kB / 0.9683 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.372e-05/0.9097, allocations: 23.25 kB / 0.9683 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-06/0.9097, allocations: 4.219 kB / 0.9683 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002192/0.9099, allocations: 228.7 kB / 0.9686 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.91, allocations: 0 / 0.9686 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000597/0.9106, allocations: 129.8 kB / 0.9687 GB, free: 11.02 MB / 0.7325 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.0009254/0.9115, allocations: 0.9054 MB / 0.9696 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005569/0.9121, allocations: 246.4 kB / 0.9698 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.9121, allocations: 6.547 kB / 0.9698 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.9122, allocations: 63.28 kB / 0.9699 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008083/0.913, allocations: 119.8 kB / 0.97 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003292/0.9163, allocations: 2.805 MB / 0.9727 GB, free: 8.453 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.9167, allocations: 0.7817 MB / 0.9735 GB, free: 7.746 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002932/0.917, allocations: 90.39 kB / 0.9736 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.9171, allocations: 85.81 kB / 0.9737 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of SimCode: time 2.7e-07/0.9171, allocations: 4 kB / 0.9737 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02958/0.9467, allocations: 7.82 MB / 0.9813 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.191/9.138, allocations: 6.359 kB / 0.9813 GB, free: 5.023 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_Pressure.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1)