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.005508/0.005508, allocations: 96.92 kB / 15.73 MB, free: 6.484 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.001493/0.001493, allocations: 191.9 kB / 16.67 MB, free: 6.391 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002395/0.002395, allocations: 266.6 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.006/1.006, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0026/0.002601, allocations: 102.5 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1615, allocations: 86.97 MB / 0.7659 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.PPM): time 0.5431/0.7047, allocations: 214.6 MB / 0.9755 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02538/0.7301, allocations: 21.36 MB / 0.9964 GB, free: 6.934 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001543/0.7317, allocations: 51.69 kB / 0.9964 GB, free: 6.883 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001834/0.7335, allocations: 0.7336 MB / 0.9971 GB, free: 6.145 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.009215/0.7428, allocations: 4.247 MB / 1.001 GB, free: 1.879 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002405/0.7452, allocations: 1.065 MB / 1.002 GB, free: 0.8203 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004582/0.7498, allocations: 3.91 MB / 1.006 GB, free: 12.89 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001994/0.7518, allocations: 1.565 MB / 1.008 GB, free: 11.3 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00269/0.7545, allocations: 1.619 MB / 1.009 GB, free: 9.68 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002717/0.7572, allocations: 1.555 MB / 1.011 GB, free: 8.129 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0002628/0.7575, allocations: 164 kB / 1.011 GB, free: 7.969 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003306/0.7608, allocations: 1.82 MB / 1.013 GB, free: 6.145 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0007371/0.7615, allocations: 0.7482 MB / 1.013 GB, free: 5.395 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001016/0.7626, allocations: 0.9565 MB / 1.014 GB, free: 4.434 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.003782/0.7664, allocations: 2.943 MB / 1.017 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.7664, allocations: 0 / 1.017 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7664, allocations: 4 kB / 1.017 GB, free: 1.477 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.888e-05/0.7664, allocations: 0 / 1.017 GB, free: 1.477 MB / 0.7637 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.003179/0.7696, allocations: 2.096 MB / 1.019 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.7696, allocations: 12.03 kB / 1.019 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00024/0.7699, allocations: 202.1 kB / 1.019 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002108/0.772, allocations: 402.5 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001957/0.774, allocations: 1.164 MB / 1.021 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.409e-05/0.7741, allocations: 98.56 kB / 1.021 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001867/0.7743, allocations: 136 kB / 1.021 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002421/0.7767, allocations: 1.592 MB / 1.023 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.972e-05/0.7767, allocations: 4 kB / 1.023 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.7769, allocations: 52 kB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.937e-05/0.7769, allocations: 50.45 kB / 1.023 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002061/0.779, allocations: 1.298 MB / 1.024 GB, free: 10.18 MB / 0.7794 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.007568/0.7866, allocations: 6.498 MB / 1.031 GB, free: 3.266 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/0.788, allocations: 0.9612 MB / 1.031 GB, free: 2.297 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006599/0.7887, allocations: 475.4 kB / 1.032 GB, free: 1.832 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000691/0.7894, allocations: 417 kB / 1.032 GB, free: 1.348 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.7894, allocations: 43.22 kB / 1.032 GB, free: 1.297 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=82): time 2.234e-06/0.7894, allocations: 0 / 1.032 GB, free: 1.297 MB / 0.7794 GB Notification: Performance of matching and sorting (n=84): time 0.004937/0.7944, allocations: 2.964 MB / 1.035 GB, free: 14.21 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.7944, allocations: 60.41 kB / 1.035 GB, free: 14.14 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/0.7959, allocations: 1.205 MB / 1.036 GB, free: 12.92 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.953e-05/0.796, allocations: 45.7 kB / 1.037 GB, free: 12.87 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005476/0.7965, allocations: 0.6852 MB / 1.037 GB, free: 12.18 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002616/0.7968, allocations: 313.2 kB / 1.037 GB, free: 11.87 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002932/0.7971, allocations: 202.6 kB / 1.038 GB, free: 11.67 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.7972, allocations: 349.7 kB / 1.038 GB, free: 11.32 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005854/0.7978, allocations: 377.8 kB / 1.038 GB, free: 10.95 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009038/0.7987, allocations: 0.7152 MB / 1.039 GB, free: 10.09 MB / 0.795 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.01083/0.8096, allocations: 2.922 MB / 1.042 GB, free: 7.051 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.8096, allocations: 4 kB / 1.042 GB, free: 7.047 MB / 0.795 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002091/0.8117, allocations: 1.307 MB / 1.043 GB, free: 5.723 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.8117, allocations: 8 kB / 1.043 GB, free: 5.715 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.8118, allocations: 12.06 kB / 1.043 GB, free: 5.703 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002841/0.812, allocations: 130.4 kB / 1.043 GB, free: 5.566 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007359/0.8128, allocations: 207.7 kB / 1.044 GB, free: 5.363 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004677/0.8175, allocations: 5.379 MB / 1.049 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/0.8185, allocations: 43.94 kB / 1.049 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.343e-05/0.8186, allocations: 49.55 kB / 1.049 GB, free: 15.49 MB / 0.8106 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.0006716/0.8193, allocations: 432.5 kB / 1.049 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000211/0.8195, allocations: 147.1 kB / 1.049 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001779/0.8213, allocations: 1.1 MB / 1.051 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.8213, allocations: 8 kB / 1.051 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.8213, allocations: 0 / 1.051 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001385/0.8227, allocations: 1.054 MB / 1.052 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004914/0.8277, allocations: 3.093 MB / 1.055 GB, free: 9.371 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.8277, allocations: 4 kB / 1.055 GB, free: 9.367 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006833/0.8284, allocations: 155.8 kB / 1.055 GB, free: 9.215 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002555/0.8286, allocations: 135.1 kB / 1.055 GB, free: 9.074 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.884e-05/0.8287, allocations: 28 kB / 1.055 GB, free: 9.047 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004628/0.8333, allocations: 5.366 MB / 1.06 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-05/0.8334, allocations: 11.94 kB / 1.06 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002466/0.8358, allocations: 1.751 MB / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000543/0.8364, allocations: 320.1 kB / 1.062 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001621/0.8366, allocations: 27.92 kB / 1.062 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000714/0.8373, allocations: 24 kB / 1.062 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.8374, allocations: 80.34 kB / 1.062 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.214e-05/0.8375, allocations: 31.98 kB / 1.062 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00115/0.8386, allocations: 0.8422 MB / 1.063 GB, free: 60 kB / 0.8106 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8387, allocations: 0 / 1.063 GB, free: 60 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001375/0.84, allocations: 412.1 kB / 1.064 GB, free: 15.65 MB / 0.8262 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.003057/0.8431, allocations: 2.437 MB / 1.066 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002082/0.8452, allocations: 1.292 MB / 1.067 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.8452, allocations: 4 kB / 1.067 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0009712/0.8462, allocations: 0.79 MB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003585/0.8498, allocations: 0.893 MB / 1.069 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01554/0.8653, allocations: 11.29 MB / 1.08 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/0.8664, allocations: 1.359 MB / 1.081 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001171/0.8676, allocations: 356.6 kB / 1.081 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007349/0.8683, allocations: 0.5461 MB / 1.082 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of SimCode: time 7.52e-07/0.8683, allocations: 0 / 1.082 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4107/1.279, allocations: 43.66 MB / 1.125 GB, free: 282.6 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/14.7, allocations: 13.41 kB / 1.125 GB, free: 282.6 MB / 0.8419 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)