Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.354/1.354, allocations: 251.5 MB / 266.7 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009559/0.0009559, allocations: 172.1 kB / 325.8 MB, free: 2.711 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.785/1.785, allocations: 205 MB / 0.576 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007611/0.0007611, allocations: 87.38 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004058/0.0004059, allocations: 11.53 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.215, allocations: 105.4 MB / 0.8962 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.7554/0.9705, allocations: 212.4 MB / 1.104 GB, free: 1.273 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02464/0.9952, allocations: 21.59 MB / 1.125 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002936/0.9982, allocations: 43.78 kB / 1.125 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00264/1.001, allocations: 0.6163 MB / 1.125 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01229/1.013, allocations: 3.989 MB / 1.129 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003146/1.016, allocations: 1.007 MB / 1.13 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006514/1.023, allocations: 5.467 MB / 1.136 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00194/1.025, allocations: 1.289 MB / 1.137 GB, free: 328 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003589/1.028, allocations: 1.439 MB / 1.138 GB, free: 324 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004891/1.033, allocations: 1.552 MB / 1.14 GB, free: 312 kB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003569/1.034, allocations: 71.19 kB / 1.14 GB, free: 312 kB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005015/1.039, allocations: 2.014 MB / 1.142 GB, free: 292 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0009819/1.04, allocations: 0.6585 MB / 1.142 GB, free: 280 kB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001608/1.041, allocations: 0.8439 MB / 1.143 GB, free: 68 kB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004931/1.046, allocations: 2.904 MB / 1.146 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/1.046, allocations: 2.531 kB / 1.146 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.783e-06/1.046, allocations: 3.938 kB / 1.146 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.707e-05/1.046, allocations: 4 kB / 1.146 GB, free: 15.64 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.002921/1.049, allocations: 1.695 MB / 1.148 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/1.049, allocations: 8.438 kB / 1.148 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002352/1.05, allocations: 205.7 kB / 1.148 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001852/1.051, allocations: 376.4 kB / 1.148 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001817/1.053, allocations: 1.101 MB / 1.149 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.431e-05/1.053, allocations: 97.53 kB / 1.149 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001767/1.053, allocations: 136.8 kB / 1.15 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002338/1.056, allocations: 1.599 MB / 1.151 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/1.056, allocations: 5.562 kB / 1.151 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/1.056, allocations: 53.41 kB / 1.151 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.557e-05/1.056, allocations: 48.58 kB / 1.151 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001887/1.058, allocations: 1.299 MB / 1.153 GB, free: 12.97 MB / 0.7136 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.007494/1.065, allocations: 6.513 MB / 1.159 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/1.067, allocations: 0.7755 MB / 1.16 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005369/1.067, allocations: 432 kB / 1.16 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006955/1.068, allocations: 424.2 kB / 1.16 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/1.068, allocations: 42.19 kB / 1.161 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=73): time 3.287e-06/1.068, allocations: 0 / 1.161 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of matching and sorting (n=73): time 0.002765/1.071, allocations: 1.543 MB / 1.162 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/1.071, allocations: 56.69 kB / 1.162 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00163/1.072, allocations: 1.263 MB / 1.163 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.291e-05/1.072, allocations: 46.61 kB / 1.163 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004948/1.073, allocations: 0.6966 MB / 1.164 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002529/1.073, allocations: 263.8 kB / 1.164 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/1.073, allocations: 87.08 kB / 1.164 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001318/1.073, allocations: 345.5 kB / 1.165 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004893/1.074, allocations: 348.2 kB / 1.165 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007447/1.075, allocations: 0.6996 MB / 1.166 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/1.076, allocations: 1.034 MB / 1.167 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/1.076, allocations: 2.875 kB / 1.167 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002172/1.078, allocations: 1.25 MB / 1.168 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/1.078, allocations: 8.906 kB / 1.168 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/1.078, allocations: 8.906 kB / 1.168 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003553/1.079, allocations: 134.3 kB / 1.168 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007767/1.079, allocations: 194.4 kB / 1.168 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003868/1.083, allocations: 4.84 MB / 1.173 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/1.085, allocations: 189.5 kB / 1.173 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.892e-05/1.085, allocations: 44.41 kB / 1.173 GB, free: 12.79 MB / 0.7292 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 (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.0007677/1.086, allocations: 424.2 kB / 1.174 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002016/1.086, allocations: 142.3 kB / 1.174 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/1.087, allocations: 1.059 MB / 1.175 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/1.087, allocations: 5.438 kB / 1.175 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/1.087, allocations: 0 / 1.175 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001101/1.088, allocations: 0.9282 MB / 1.176 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003391/1.092, allocations: 2.39 MB / 1.178 GB, free: 9.238 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/1.092, allocations: 4.062 kB / 1.178 GB, free: 9.234 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006356/1.092, allocations: 133 kB / 1.178 GB, free: 9.109 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00024/1.093, allocations: 129 kB / 1.178 GB, free: 8.977 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.921e-05/1.093, allocations: 16 kB / 1.178 GB, free: 8.961 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003635/1.096, allocations: 4.821 MB / 1.183 GB, free: 3.758 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.096, allocations: 8.156 kB / 1.183 GB, free: 3.75 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002101/1.099, allocations: 1.521 MB / 1.185 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00069/1.099, allocations: 319.2 kB / 1.185 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001571/1.099, allocations: 19.94 kB / 1.185 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008485/1.1, allocations: 74.66 kB / 1.185 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/1.1, allocations: 55.06 kB / 1.185 GB, free: 1.703 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.333e-05/1.1, allocations: 30.42 kB / 1.185 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001169/1.102, allocations: 0.8778 MB / 1.186 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/1.102, allocations: 0 / 1.186 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001524/1.103, allocations: 451.2 kB / 1.186 GB, free: 364 kB / 0.7292 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 (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.002549/1.106, allocations: 2.207 MB / 1.188 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001673/1.107, allocations: 1.186 MB / 1.19 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/1.107, allocations: 4 kB / 1.19 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0007778/1.108, allocations: 0.7372 MB / 1.19 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003904/1.112, allocations: 0.8355 MB / 1.191 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01628/1.128, allocations: 12.17 MB / 1.203 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009863/1.129, allocations: 1.351 MB / 1.204 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001563/1.131, allocations: 344.5 kB / 1.205 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006823/1.132, allocations: 0.5423 MB / 1.205 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of SimCode: time 8.32e-07/1.132, allocations: 0 / 1.205 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4834/1.615, allocations: 40.59 MB / 1.245 GB, free: 4.227 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003384/1.616, allocations: 264 kB / 1.245 GB, free: 3.871 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.362/4.978, allocations: 0 / 1.245 GB, free: 3.871 MB / 0.7917 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_PPM.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1)