Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.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.PPM,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.PPM,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_PPM",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.004735/0.004736, allocations: 98.64 kB / 15.73 MB, free: 5.602 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.00119/0.00119, allocations: 196.1 kB / 16.68 MB, free: 5.523 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.228/1.228, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002007/0.002007, allocations: 287.9 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8799/0.8799, allocations: 169.2 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 103.8 kB / 0.681 GB, free: 7.43 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.3953, allocations: 86.98 MB / 0.7659 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.PPM): time 0.5771/0.9725, allocations: 214.6 MB / 0.9755 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01828/0.9908, allocations: 21.34 MB / 0.9963 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001797/0.9926, allocations: 49.78 kB / 0.9964 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001715/0.9944, allocations: 0.7608 MB / 0.9971 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008771/1.003, allocations: 4.407 MB / 1.001 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002476/1.006, allocations: 1.069 MB / 1.002 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003996/1.01, allocations: 3.916 MB / 1.006 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001772/1.011, allocations: 1.581 MB / 1.008 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003025/1.014, allocations: 1.674 MB / 1.009 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002986/1.017, allocations: 1.572 MB / 1.011 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002474/1.018, allocations: 159.6 kB / 1.011 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00361/1.021, allocations: 1.836 MB / 1.013 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006807/1.022, allocations: 0.7411 MB / 1.014 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001169/1.023, allocations: 0.9567 MB / 1.015 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004664/1.028, allocations: 2.94 MB / 1.017 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/1.028, allocations: 0 / 1.017 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.443e-06/1.028, allocations: 7.281 kB / 1.018 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.519e-05/1.028, allocations: 0 / 1.018 GB, free: 0.5469 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.003048/1.031, allocations: 2.088 MB / 1.02 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/1.031, allocations: 11.5 kB / 1.02 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002127/1.031, allocations: 204.1 kB / 1.02 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002117/1.033, allocations: 404.9 kB / 1.02 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001931/1.035, allocations: 1.162 MB / 1.021 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.99e-05/1.035, allocations: 107.1 kB / 1.021 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/1.036, allocations: 135.2 kB / 1.022 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002194/1.038, allocations: 1.585 MB / 1.023 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.948e-05/1.038, allocations: 6.188 kB / 1.023 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/1.038, allocations: 60.53 kB / 1.023 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.596e-05/1.038, allocations: 50.53 kB / 1.023 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/1.04, allocations: 1.295 MB / 1.024 GB, free: 14.7 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.007043/1.047, allocations: 6.494 MB / 1.031 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/1.048, allocations: 0.9527 MB / 1.032 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005304/1.049, allocations: 476.9 kB / 1.032 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006448/1.049, allocations: 419.9 kB / 1.033 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/1.049, allocations: 44.97 kB / 1.033 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=82): time 2.424e-06/1.049, allocations: 0.7812 kB / 1.033 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=84): time 0.004964/1.054, allocations: 2.971 MB / 1.035 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/1.054, allocations: 59.59 kB / 1.036 GB, free: 9.949 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/1.056, allocations: 1.196 MB / 1.037 GB, free: 9.785 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.009e-05/1.056, allocations: 44.67 kB / 1.037 GB, free: 9.754 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004089/1.056, allocations: 0.6925 MB / 1.037 GB, free: 9.48 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002245/1.056, allocations: 319.4 kB / 1.038 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002482/1.057, allocations: 190.8 kB / 1.038 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001057/1.057, allocations: 344.6 kB / 1.038 GB, free: 8.949 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005061/1.057, allocations: 376.7 kB / 1.039 GB, free: 8.84 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000761/1.058, allocations: 0.7189 MB / 1.039 GB, free: 8.301 MB / 0.7325 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (sin.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0111/1.069, allocations: 2.924 MB / 1.042 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/1.069, allocations: 2.469 kB / 1.042 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001961/1.071, allocations: 1.317 MB / 1.043 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/1.071, allocations: 8.688 kB / 1.043 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/1.071, allocations: 8.281 kB / 1.043 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002465/1.071, allocations: 130.6 kB / 1.044 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007202/1.072, allocations: 208.1 kB / 1.044 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003818/1.076, allocations: 5.379 MB / 1.049 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/1.077, allocations: 57.33 kB / 1.049 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.379e-05/1.077, allocations: 43.69 kB / 1.049 GB, free: 1.531 MB / 0.7325 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (116): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0007127/1.078, allocations: 424.3 kB / 1.05 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002094/1.078, allocations: 150.5 kB / 1.05 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001552/1.08, allocations: 1.092 MB / 1.051 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/1.08, allocations: 11.84 kB / 1.051 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/1.08, allocations: 0 / 1.051 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00122/1.081, allocations: 1.058 MB / 1.052 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004801/1.086, allocations: 3.08 MB / 1.055 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/1.086, allocations: 4.75 kB / 1.055 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007073/1.087, allocations: 166.1 kB / 1.055 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002524/1.087, allocations: 130.4 kB / 1.055 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.354e-05/1.087, allocations: 26.53 kB / 1.055 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003693/1.091, allocations: 5.374 MB / 1.06 GB, free: 7.059 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/1.091, allocations: 6.625 kB / 1.06 GB, free: 7.055 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002248/1.093, allocations: 1.746 MB / 1.062 GB, free: 5.215 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006026/1.094, allocations: 324 kB / 1.062 GB, free: 4.879 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001739/1.094, allocations: 24 kB / 1.062 GB, free: 4.855 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007838/1.095, allocations: 33.98 kB / 1.062 GB, free: 4.824 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/1.095, allocations: 77.58 kB / 1.063 GB, free: 4.75 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.736e-05/1.095, allocations: 35.98 kB / 1.063 GB, free: 4.715 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001111/1.096, allocations: 0.8446 MB / 1.063 GB, free: 3.871 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/1.096, allocations: 4 kB / 1.063 GB, free: 3.867 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001483/1.097, allocations: 411.9 kB / 1.064 GB, free: 3.465 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 6 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1],senPPMTwoPort.C,senPPMNoRev.C,senPPMRev.C) * 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 (75): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002753/1.1, allocations: 2.424 MB / 1.066 GB, free: 0.9688 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001785/1.102, allocations: 1.297 MB / 1.067 GB, free: 15.67 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/1.102, allocations: 1.25 kB / 1.067 GB, free: 15.67 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0008177/1.103, allocations: 0.7951 MB / 1.068 GB, free: 14.86 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003643/1.106, allocations: 0.8901 MB / 1.069 GB, free: 13.99 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01356/1.12, allocations: 11.28 MB / 1.08 GB, free: 2.285 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009055/1.121, allocations: 1.359 MB / 1.081 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.00116/1.122, allocations: 352.6 kB / 1.082 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006905/1.123, allocations: 0.5462 MB / 1.082 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of SimCode: time 4.91e-07/1.123, allocations: 0 / 1.082 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09665/1.219, allocations: 43.66 MB / 1.125 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.37/14.59, allocations: 11.19 kB / 1.125 GB, free: 5.035 MB / 0.8106 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_PPM.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe 2>&1)