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.001156/0.001157, 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.001253/0.001253, allocations: 195.3 kB / 16.54 MB, free: 6.672 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.351/1.351, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002362/0.002362, allocations: 279 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9515/0.9515, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001728, allocations: 99.59 kB / 0.5953 GB, free: 27.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1687, allocations: 86.98 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.PPM): time 0.5271/0.6958, allocations: 214.6 MB / 0.8899 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0293/0.7252, allocations: 21.34 MB / 0.9107 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003333/0.7286, allocations: 53.19 kB / 0.9108 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002801/0.7314, allocations: 0.737 MB / 0.9115 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01115/0.7426, allocations: 4.244 MB / 0.9156 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002768/0.7454, allocations: 1.06 MB / 0.9167 GB, free: 5.227 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004796/0.7502, allocations: 3.902 MB / 0.9205 GB, free: 1.309 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002104/0.7523, allocations: 1.579 MB / 0.922 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004144/0.7565, allocations: 1.611 MB / 0.9236 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003438/0.76, allocations: 1.549 MB / 0.9251 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003391/0.7603, allocations: 160 kB / 0.9252 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003683/0.764, allocations: 1.828 MB / 0.927 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007285/0.7648, allocations: 0.7442 MB / 0.9278 GB, free: 9.809 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001061/0.7658, allocations: 0.9527 MB / 0.9287 GB, free: 8.852 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003504/0.7693, allocations: 2.898 MB / 0.9315 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.7694, allocations: 0 / 0.9315 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7694, allocations: 0 / 0.9315 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.247e-05/0.7694, allocations: 0 / 0.9315 GB, free: 5.945 MB / 0.6387 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.002868/0.7723, allocations: 2.034 MB / 0.9335 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.7723, allocations: 16.03 kB / 0.9335 GB, free: 3.84 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000209/0.7725, allocations: 194.1 kB / 0.9337 GB, free: 3.641 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002105/0.7746, allocations: 409.4 kB / 0.9341 GB, free: 3.238 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001846/0.7765, allocations: 1.097 MB / 0.9352 GB, free: 2.082 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.725e-05/0.7766, allocations: 98.56 kB / 0.9353 GB, free: 1.984 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001887/0.7768, allocations: 132 kB / 0.9354 GB, free: 1.855 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002333/0.7791, allocations: 1.59 MB / 0.9369 GB, free: 196 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.227e-05/0.7792, allocations: 11.92 kB / 0.937 GB, free: 184 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/0.7793, allocations: 52 kB / 0.937 GB, free: 132 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.684e-05/0.7793, allocations: 46.45 kB / 0.937 GB, free: 84 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00196/0.7813, allocations: 1.294 MB / 0.9383 GB, free: 14.78 MB / 0.6544 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.007318/0.7886, allocations: 6.536 MB / 0.9447 GB, free: 7.828 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/0.79, allocations: 0.938 MB / 0.9456 GB, free: 6.883 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006249/0.7907, allocations: 486.5 kB / 0.9461 GB, free: 6.406 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006592/0.7913, allocations: 413 kB / 0.9465 GB, free: 5.93 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.7914, allocations: 43.22 kB / 0.9465 GB, free: 5.875 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 2.545e-06/0.7914, allocations: 0 / 0.9465 GB, free: 5.875 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84): time 0.0052/0.7966, allocations: 2.94 MB / 0.9494 GB, free: 2.816 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.7967, allocations: 64.41 kB / 0.9494 GB, free: 2.742 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/0.7981, allocations: 1.197 MB / 0.9506 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.839e-05/0.7982, allocations: 49.7 kB / 0.9507 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005183/0.7987, allocations: 0.6799 MB / 0.9513 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002492/0.799, allocations: 299.6 kB / 0.9516 GB, free: 500 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002737/0.7993, allocations: 190.6 kB / 0.9518 GB, free: 304 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.7994, allocations: 349.9 kB / 0.9521 GB, free: 15.95 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005421/0.8, allocations: 373.8 kB / 0.9525 GB, free: 15.58 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008323/0.8008, allocations: 0.7313 MB / 0.9532 GB, free: 14.71 MB / 0.67 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.01153/0.8123, allocations: 2.923 MB / 0.956 GB, free: 11.66 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.8124, allocations: 4 kB / 0.9561 GB, free: 11.66 MB / 0.67 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002315/0.8147, allocations: 1.289 MB / 0.9573 GB, free: 10.36 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.8147, allocations: 11.94 kB / 0.9573 GB, free: 10.34 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/0.8148, allocations: 15.98 kB / 0.9573 GB, free: 10.33 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002895/0.8151, allocations: 135.2 kB / 0.9575 GB, free: 10.19 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007495/0.8158, allocations: 203.7 kB / 0.9577 GB, free: 9.988 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004387/0.8202, allocations: 5.383 MB / 0.9629 GB, free: 4.191 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/0.8214, allocations: 47.95 kB / 0.963 GB, free: 4.145 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.771e-05/0.8215, allocations: 44 kB / 0.963 GB, free: 4.102 MB / 0.67 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.0006928/0.8222, allocations: 433.3 kB / 0.9634 GB, free: 3.668 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002381/0.8225, allocations: 142.3 kB / 0.9636 GB, free: 3.527 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001703/0.8242, allocations: 1.1 MB / 0.9646 GB, free: 2.406 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/0.8242, allocations: 8 kB / 0.9646 GB, free: 2.398 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.8242, allocations: 3.938 kB / 0.9646 GB, free: 2.395 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00133/0.8255, allocations: 1.054 MB / 0.9657 GB, free: 1.285 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004869/0.8304, allocations: 3.078 MB / 0.9687 GB, free: 14 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.8304, allocations: 8 kB / 0.9687 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006948/0.8312, allocations: 163.7 kB / 0.9688 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002494/0.8314, allocations: 122.5 kB / 0.969 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-05/0.8315, allocations: 28.08 kB / 0.969 GB, free: 13.67 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004176/0.8357, allocations: 5.369 MB / 0.9742 GB, free: 7.891 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.8357, allocations: 8 kB / 0.9742 GB, free: 7.883 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002683/0.8384, allocations: 1.742 MB / 0.9759 GB, free: 6.035 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006963/0.8391, allocations: 315.2 kB / 0.9762 GB, free: 5.707 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001705/0.8393, allocations: 23.98 kB / 0.9763 GB, free: 5.684 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007628/0.84, allocations: 29.06 kB / 0.9763 GB, free: 5.656 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/0.8402, allocations: 80.34 kB / 0.9764 GB, free: 5.578 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-05/0.8403, allocations: 32 kB / 0.9764 GB, free: 5.547 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001178/0.8415, allocations: 0.8499 MB / 0.9772 GB, free: 4.695 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8415, allocations: 4 kB / 0.9772 GB, free: 4.691 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00153/0.843, allocations: 412 kB / 0.9776 GB, free: 4.289 MB / 0.6856 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.002981/0.846, allocations: 2.432 MB / 0.98 GB, free: 1.762 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002288/0.8483, allocations: 1.44 MB / 0.9814 GB, free: 292 kB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.8483, allocations: 1.312 kB / 0.9814 GB, free: 292 kB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009226/0.8493, allocations: 0.8001 MB / 0.9822 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004087/0.8534, allocations: 0.8985 MB / 0.9831 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02068/0.8741, allocations: 12.15 MB / 0.9949 GB, free: 1.664 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001259/0.8754, allocations: 1.355 MB / 0.9963 GB, free: 288 kB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.002027/0.8774, allocations: 356.6 kB / 0.9966 GB, free: 15.93 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00072/0.8782, allocations: 0.55 MB / 0.9971 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of SimCode: time 1.162e-06/0.8782, allocations: 0 / 0.9971 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08223/0.9604, allocations: 43.32 MB / 1.039 GB, free: 4.684 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.7, allocations: 15.89 kB / 1.039 GB, free: 4.668 MB / 0.7481 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)