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.001643/0.001643, allocations: 105.4 kB / 15.7 MB, free: 20 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.0013/0.0013, allocations: 187.9 kB / 16.64 MB, free: 6.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.737/1.737, allocations: 292.3 MB / 0.549 GB, free: 12.8 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.00141/0.001411, allocations: 69.75 kB / 0.6718 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2484, allocations: 114.6 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.6569/0.9053, allocations: 214.6 MB / 0.9932 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02486/0.9302, allocations: 21.29 MB / 1.014 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002532/0.9328, allocations: 49.19 kB / 1.014 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002398/0.9352, allocations: 0.7444 MB / 1.015 GB, free: 192 kB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01202/0.9473, allocations: 4.231 MB / 1.019 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003279/0.9506, allocations: 1.055 MB / 1.02 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.006447/0.9571, allocations: 3.877 MB / 1.024 GB, free: 9.934 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002686/0.9598, allocations: 1.562 MB / 1.025 GB, free: 8.996 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00476/0.9646, allocations: 1.618 MB / 1.027 GB, free: 8.074 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004406/0.969, allocations: 1.548 MB / 1.028 GB, free: 7.184 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0008443/0.9699, allocations: 160.6 kB / 1.029 GB, free: 7.184 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005261/0.9751, allocations: 1.775 MB / 1.03 GB, free: 6.246 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0015/0.9767, allocations: 0.735 MB / 1.031 GB, free: 5.758 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.002486/0.9792, allocations: 0.9585 MB / 1.032 GB, free: 5.141 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.005052/0.9842, allocations: 2.882 MB / 1.035 GB, free: 3.281 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.9843, allocations: 0 / 1.035 GB, free: 3.281 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.635e-06/0.9843, allocations: 0 / 1.035 GB, free: 3.281 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.415e-05/0.9843, allocations: 0 / 1.035 GB, free: 3.281 MB / 0.7481 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.003509/0.9878, allocations: 2.029 MB / 1.037 GB, free: 1.801 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.9879, allocations: 13.69 kB / 1.037 GB, free: 1.797 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002517/0.9882, allocations: 194 kB / 1.037 GB, free: 1.645 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002033/0.9902, allocations: 382.4 kB / 1.037 GB, free: 1.469 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001951/0.9922, allocations: 1.14 MB / 1.038 GB, free: 0.6406 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.468e-05/0.9923, allocations: 98.28 kB / 1.038 GB, free: 0.5977 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000203/0.9925, allocations: 138.1 kB / 1.039 GB, free: 0.5508 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002423/0.9949, allocations: 1.591 MB / 1.04 GB, free: 15.56 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/0.9949, allocations: 2.469 kB / 1.04 GB, free: 15.56 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/0.9951, allocations: 52.22 kB / 1.04 GB, free: 15.52 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.31e-05/0.9951, allocations: 49.94 kB / 1.04 GB, free: 15.51 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001823/0.997, allocations: 1.285 MB / 1.042 GB, free: 14.88 MB / 0.7637 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.00754/1.005, allocations: 6.487 MB / 1.048 GB, free: 8.094 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/1.006, allocations: 0.7883 MB / 1.049 GB, free: 7.293 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005341/1.006, allocations: 434.5 kB / 1.049 GB, free: 6.867 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000657/1.007, allocations: 413.5 kB / 1.049 GB, free: 6.391 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/1.007, allocations: 43.22 kB / 1.049 GB, free: 6.34 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=73): time 2.465e-06/1.007, allocations: 0 / 1.049 GB, free: 6.34 MB / 0.7637 GB Notification: Performance of matching and sorting (n=73): time 0.002764/1.01, allocations: 1.541 MB / 1.051 GB, free: 4.727 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/1.01, allocations: 60.06 kB / 1.051 GB, free: 4.656 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/1.011, allocations: 1.258 MB / 1.052 GB, free: 3.383 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 9.08e-05/1.011, allocations: 49.7 kB / 1.052 GB, free: 3.328 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005097/1.012, allocations: 0.6953 MB / 1.053 GB, free: 2.625 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002559/1.012, allocations: 272.2 kB / 1.053 GB, free: 2.355 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002751/1.012, allocations: 194.5 kB / 1.053 GB, free: 2.156 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001226/1.013, allocations: 345.9 kB / 1.054 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004917/1.013, allocations: 346.7 kB / 1.054 GB, free: 1.477 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007725/1.014, allocations: 0.727 MB / 1.055 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/1.015, allocations: 1.048 MB / 1.056 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.617e-06/1.015, allocations: 4 kB / 1.056 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00189/1.017, allocations: 1.251 MB / 1.057 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/1.017, allocations: 18.95 kB / 1.057 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/1.017, allocations: 8 kB / 1.057 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003041/1.017, allocations: 126.5 kB / 1.057 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006934/1.018, allocations: 200.7 kB / 1.057 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004104/1.022, allocations: 5.388 MB / 1.063 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/1.024, allocations: 142.5 kB / 1.063 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-05/1.024, allocations: 48.06 kB / 1.063 GB, free: 7.805 MB / 0.7794 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.0007666/1.025, allocations: 425.3 kB / 1.063 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002383/1.025, allocations: 138.3 kB / 1.063 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001526/1.026, allocations: 1.056 MB / 1.064 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/1.026, allocations: 12 kB / 1.064 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/1.026, allocations: 0 / 1.064 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001123/1.028, allocations: 0.9426 MB / 1.065 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003595/1.031, allocations: 2.387 MB / 1.068 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/1.031, allocations: 4 kB / 1.068 GB, free: 2.648 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006639/1.032, allocations: 136.1 kB / 1.068 GB, free: 2.516 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002874/1.032, allocations: 122.5 kB / 1.068 GB, free: 2.387 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.199e-05/1.032, allocations: 19.98 kB / 1.068 GB, free: 2.367 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004768/1.037, allocations: 5.374 MB / 1.073 GB, free: 12.57 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/1.037, allocations: 0 / 1.073 GB, free: 12.57 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002561/1.04, allocations: 1.532 MB / 1.075 GB, free: 10.98 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007743/1.04, allocations: 323.1 kB / 1.075 GB, free: 10.65 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001826/1.041, allocations: 19.98 kB / 1.075 GB, free: 10.63 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007287/1.041, allocations: 16 kB / 1.075 GB, free: 10.61 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/1.042, allocations: 60.42 kB / 1.075 GB, free: 10.55 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.582e-05/1.042, allocations: 27.98 kB / 1.075 GB, free: 10.53 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001274/1.043, allocations: 0.8702 MB / 1.076 GB, free: 9.656 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.61e-07/1.043, allocations: 4 kB / 1.076 GB, free: 9.652 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001583/1.044, allocations: 455.2 kB / 1.076 GB, free: 9.207 MB / 0.795 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.002779/1.047, allocations: 2.198 MB / 1.079 GB, free: 6.957 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00186/1.049, allocations: 1.219 MB / 1.08 GB, free: 5.699 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/1.049, allocations: 0 / 1.08 GB, free: 5.699 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0008811/1.05, allocations: 0.7528 MB / 1.08 GB, free: 4.902 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003883/1.054, allocations: 0.883 MB / 1.081 GB, free: 4.043 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01614/1.07, allocations: 10.87 MB / 1.092 GB, free: 8.727 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/1.071, allocations: 1.343 MB / 1.093 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001428/1.073, allocations: 352.5 kB / 1.094 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006923/1.073, allocations: 0.5461 MB / 1.094 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of SimCode: time 8.82e-07/1.073, allocations: 0 / 1.094 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09815/1.171, allocations: 42.4 MB / 1.136 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.9/15.08, allocations: 15.89 kB / 1.136 GB, free: 12.64 MB / 0.8575 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/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)