Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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.PPM,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_8_Buildings_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.000806/0.000806, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0009479/0.000948, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.727/1.727, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.854/1.854, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0009332/0.0009333, allocations: 14.88 kB / 0.6738 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2439, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.8558/1.1, allocations: 195.5 MB / 0.9783 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02519/1.125, allocations: 19.8 MB / 0.9976 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003052/1.128, allocations: 43.94 kB / 0.9977 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002195/1.13, allocations: 0.5003 MB / 0.9982 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01173/1.142, allocations: 2.952 MB / 1.001 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003252/1.145, allocations: 0.7839 MB / 1.002 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.006573/1.152, allocations: 4.497 MB / 1.006 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002056/1.154, allocations: 1.163 MB / 1.007 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003609/1.158, allocations: 1.405 MB / 1.009 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002892/1.161, allocations: 1.472 MB / 1.01 GB, free: 9.574 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000189/1.161, allocations: 69.34 kB / 1.01 GB, free: 9.574 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003431/1.164, allocations: 0.8844 MB / 1.011 GB, free: 9.293 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0008597/1.165, allocations: 0.6419 MB / 1.012 GB, free: 9.008 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006095/1.166, allocations: 364.1 kB / 1.012 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002628/1.168, allocations: 2.018 MB / 1.014 GB, free: 7.812 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/1.168, allocations: 0 / 1.014 GB, free: 7.812 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.304e-06/1.168, allocations: 0 / 1.014 GB, free: 7.812 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.081e-05/1.168, allocations: 0 / 1.014 GB, free: 7.812 MB / 0.7325 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.002999/1.171, allocations: 1.717 MB / 1.016 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/1.171, allocations: 13.38 kB / 1.016 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002558/1.172, allocations: 197.8 kB / 1.016 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001924/1.174, allocations: 374.6 kB / 1.016 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002141/1.176, allocations: 1.047 MB / 1.017 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.985e-05/1.176, allocations: 103.3 kB / 1.017 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001843/1.176, allocations: 135.8 kB / 1.018 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002796/1.179, allocations: 1.574 MB / 1.019 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/1.179, allocations: 0 / 1.019 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/1.179, allocations: 53.97 kB / 1.019 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-05/1.179, allocations: 54.59 kB / 1.019 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002088/1.181, allocations: 1.28 MB / 1.02 GB, free: 5.094 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.009077/1.19, allocations: 6.491 MB / 1.027 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/1.191, allocations: 0.7883 MB / 1.028 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005945/1.192, allocations: 426.5 kB / 1.028 GB, free: 484 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007134/1.193, allocations: 422.8 kB / 1.028 GB, free: 64 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.693e-05/1.193, allocations: 51.28 kB / 1.028 GB, free: 16 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=73): time 2.865e-06/1.193, allocations: 0 / 1.028 GB, free: 16 kB / 0.7325 GB Notification: Performance of matching and sorting (n=73): time 0.00301/1.196, allocations: 1.545 MB / 1.03 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/1.196, allocations: 57.91 kB / 1.03 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001813/1.198, allocations: 1.244 MB / 1.031 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001024/1.198, allocations: 47.53 kB / 1.031 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.00064/1.199, allocations: 0.6954 MB / 1.032 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003283/1.199, allocations: 271.8 kB / 1.032 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/1.199, allocations: 18.78 kB / 1.032 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001804/1.199, allocations: 348.4 kB / 1.032 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005624/1.2, allocations: 345.2 kB / 1.033 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009374/1.201, allocations: 0.7179 MB / 1.034 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007587/1.201, allocations: 473.2 kB / 1.034 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/1.201, allocations: 2.438 kB / 1.034 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002151/1.204, allocations: 1.248 MB / 1.035 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.928e-05/1.204, allocations: 15.06 kB / 1.035 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/1.204, allocations: 11.97 kB / 1.035 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003341/1.204, allocations: 133.4 kB / 1.035 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007436/1.205, allocations: 196.5 kB / 1.036 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004898/1.21, allocations: 4.834 MB / 1.04 GB, free: 6.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/1.212, allocations: 189.4 kB / 1.04 GB, free: 6.703 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.265e-05/1.212, allocations: 43.19 kB / 1.04 GB, free: 6.695 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (112): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0009586/1.213, allocations: 421.6 kB / 1.041 GB, free: 6.402 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002712/1.213, allocations: 147.2 kB / 1.041 GB, free: 6.324 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001809/1.215, allocations: 1.048 MB / 1.042 GB, free: 5.684 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/1.215, allocations: 11.95 kB / 1.042 GB, free: 5.672 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/1.215, allocations: 0 / 1.042 GB, free: 5.672 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001273/1.216, allocations: 0.9309 MB / 1.043 GB, free: 4.68 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003966/1.22, allocations: 2.393 MB / 1.045 GB, free: 2.184 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/1.22, allocations: 4 kB / 1.045 GB, free: 2.18 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006369/1.221, allocations: 135.8 kB / 1.045 GB, free: 2.047 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002727/1.221, allocations: 122.5 kB / 1.046 GB, free: 1.918 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.532e-05/1.221, allocations: 20.31 kB / 1.046 GB, free: 1.898 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004434/1.225, allocations: 4.82 MB / 1.05 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.225, allocations: 4.031 kB / 1.05 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002438/1.228, allocations: 1.528 MB / 1.052 GB, free: 11.09 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007955/1.229, allocations: 327.2 kB / 1.052 GB, free: 10.75 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001702/1.229, allocations: 12 kB / 1.052 GB, free: 10.74 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007542/1.23, allocations: 67.8 kB / 1.052 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/1.23, allocations: 64.38 kB / 1.052 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.162e-05/1.23, allocations: 23.98 kB / 1.052 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001403/1.231, allocations: 0.8663 MB / 1.053 GB, free: 9.723 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/1.231, allocations: 4 kB / 1.053 GB, free: 9.719 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001854/1.233, allocations: 447.3 kB / 1.054 GB, free: 9.281 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 6 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002921/1.236, allocations: 2.216 MB / 1.056 GB, free: 7.012 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001994/1.238, allocations: 1.195 MB / 1.057 GB, free: 5.777 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/1.238, allocations: 4 kB / 1.057 GB, free: 5.773 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0009398/1.239, allocations: 0.7279 MB / 1.058 GB, free: 5.008 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003781/1.243, allocations: 0.8334 MB / 1.058 GB, free: 4.18 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01523/1.258, allocations: 8.855 MB / 1.067 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001177/1.259, allocations: 1.347 MB / 1.068 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001691/1.261, allocations: 348.6 kB / 1.069 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007405/1.262, allocations: 0.5401 MB / 1.069 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of SimCode: time 1.973e-06/1.262, allocations: 4 kB / 1.069 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08342/1.345, allocations: 41.91 MB / 1.11 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/1.345, allocations: 237.3 kB / 1.11 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.868/4.214, allocations: 4 kB / 1.11 GB, free: 15 MB / 0.8262 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_PPM.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1) Environment - environmentSimulation: