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.00105/0.00105, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001095/0.001096, allocations: 189.7 kB / 16.14 MB, free: 6.707 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.391/1.391, allocations: 205.1 MB / 222 MB, free: 4.996 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.719/1.719, allocations: 292.3 MB / 0.5484 GB, free: 13.69 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.001357/0.001357, allocations: 70.28 kB / 0.6709 GB, free: 26.53 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1958, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.6427/0.8386, allocations: 212.4 MB / 0.9902 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02177/0.8604, allocations: 21.42 MB / 1.011 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002386/0.8628, allocations: 49.03 kB / 1.011 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001996/0.8648, allocations: 0.615 MB / 1.012 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01043/0.8753, allocations: 3.988 MB / 1.016 GB, free: 336 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003023/0.8783, allocations: 0.9606 MB / 1.017 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.007027/0.8854, allocations: 5.327 MB / 1.022 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002331/0.8877, allocations: 1.33 MB / 1.023 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003614/0.8914, allocations: 1.44 MB / 1.025 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003811/0.8952, allocations: 1.602 MB / 1.026 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002783/0.8955, allocations: 88.22 kB / 1.026 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004495/0.9, allocations: 2.028 MB / 1.028 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0007759/0.9008, allocations: 0.6753 MB / 1.029 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001271/0.9021, allocations: 0.8744 MB / 1.03 GB, free: 9.797 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004082/0.9062, allocations: 2.916 MB / 1.033 GB, free: 8.055 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.9062, allocations: 7.984 kB / 1.033 GB, free: 8.047 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9062, allocations: 4 kB / 1.033 GB, free: 8.043 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 4.428e-05/0.9062, allocations: 0 / 1.033 GB, free: 8.043 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.003199/0.9095, allocations: 2.022 MB / 1.034 GB, free: 6.582 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.9095, allocations: 11.09 kB / 1.035 GB, free: 6.582 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002178/0.9097, allocations: 190 kB / 1.035 GB, free: 6.434 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001956/0.9117, allocations: 385.1 kB / 1.035 GB, free: 6.258 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00166/0.9134, allocations: 1.084 MB / 1.036 GB, free: 5.477 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.744e-05/0.9134, allocations: 102.5 kB / 1.036 GB, free: 5.43 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001814/0.9136, allocations: 133.1 kB / 1.036 GB, free: 5.387 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002204/0.9158, allocations: 1.589 MB / 1.038 GB, free: 4.402 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/0.9159, allocations: 3.938 kB / 1.038 GB, free: 4.398 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.916, allocations: 53.41 kB / 1.038 GB, free: 4.359 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.131e-05/0.9161, allocations: 47.2 kB / 1.038 GB, free: 4.355 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001858/0.9179, allocations: 1.282 MB / 1.039 GB, free: 3.727 MB / 0.7481 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.007454/0.9254, allocations: 6.489 MB / 1.046 GB, free: 14.32 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.9265, allocations: 0.7939 MB / 1.046 GB, free: 13.93 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000558/0.9271, allocations: 441 kB / 1.047 GB, free: 13.71 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007002/0.9278, allocations: 409.9 kB / 1.047 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.9278, allocations: 43.62 kB / 1.047 GB, free: 13.25 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=73): time 2.846e-06/0.9278, allocations: 0 / 1.047 GB, free: 13.25 MB / 0.7637 GB Notification: Performance of matching and sorting (n=73): time 0.002769/0.9306, allocations: 1.538 MB / 1.049 GB, free: 12.32 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.9307, allocations: 63.8 kB / 1.049 GB, free: 12.26 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001686/0.9324, allocations: 1.26 MB / 1.05 GB, free: 11.58 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 7.35e-05/0.9324, allocations: 43.02 kB / 1.05 GB, free: 11.54 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005587/0.933, allocations: 0.704 MB / 1.051 GB, free: 10.92 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002422/0.9333, allocations: 262.5 kB / 1.051 GB, free: 10.7 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002867/0.9335, allocations: 198.2 kB / 1.051 GB, free: 10.58 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.9337, allocations: 345.9 kB / 1.051 GB, free: 10.23 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005256/0.9342, allocations: 345.8 kB / 1.052 GB, free: 9.898 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008247/0.9351, allocations: 0.7232 MB / 1.053 GB, free: 9.012 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/0.9364, allocations: 1.049 MB / 1.054 GB, free: 7.844 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.9364, allocations: 4 kB / 1.054 GB, free: 7.84 MB / 0.7637 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001988/0.9384, allocations: 1.255 MB / 1.055 GB, free: 6.566 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.9385, allocations: 12.03 kB / 1.055 GB, free: 6.555 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.9385, allocations: 12 kB / 1.055 GB, free: 6.543 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003104/0.9388, allocations: 130.5 kB / 1.055 GB, free: 6.406 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000744/0.9395, allocations: 199.6 kB / 1.055 GB, free: 6.211 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004254/0.9438, allocations: 4.837 MB / 1.06 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/0.9454, allocations: 186.5 kB / 1.06 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.9455, allocations: 44 kB / 1.06 GB, free: 0.75 MB / 0.7637 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.0007135/0.9463, allocations: 430 kB / 1.06 GB, free: 328 kB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000226/0.9465, allocations: 142.2 kB / 1.061 GB, free: 184 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001607/0.9481, allocations: 1.053 MB / 1.062 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.9481, allocations: 8 kB / 1.062 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.9481, allocations: 0 / 1.062 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001175/0.9493, allocations: 0.9426 MB / 1.063 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003544/0.9529, allocations: 2.388 MB / 1.065 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.9529, allocations: 4 kB / 1.065 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006826/0.9536, allocations: 131.8 kB / 1.065 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002569/0.9539, allocations: 134.9 kB / 1.065 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.157e-05/0.9539, allocations: 16 kB / 1.065 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004125/0.958, allocations: 4.826 MB / 1.07 GB, free: 6.094 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.9581, allocations: 7.938 kB / 1.07 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002403/0.9605, allocations: 1.539 MB / 1.071 GB, free: 4.488 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006905/0.9612, allocations: 307.2 kB / 1.072 GB, free: 4.168 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001792/0.9614, allocations: 23.98 kB / 1.072 GB, free: 4.145 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008722/0.9623, allocations: 66.55 kB / 1.072 GB, free: 4.082 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.9624, allocations: 56.38 kB / 1.072 GB, free: 4.027 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-05/0.9625, allocations: 31.98 kB / 1.072 GB, free: 3.996 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001256/0.9637, allocations: 0.8741 MB / 1.073 GB, free: 3.117 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9637, allocations: 0 / 1.073 GB, free: 3.117 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001602/0.9653, allocations: 447.3 kB / 1.073 GB, free: 2.68 MB / 0.7794 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.002835/0.9682, allocations: 2.208 MB / 1.075 GB, free: 440 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001904/0.9701, allocations: 1.206 MB / 1.076 GB, free: 15.19 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.9701, allocations: 0 / 1.076 GB, free: 15.19 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0008831/0.971, allocations: 0.7392 MB / 1.077 GB, free: 14.41 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003819/0.9749, allocations: 0.847 MB / 1.078 GB, free: 13.57 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01805/0.9929, allocations: 12.22 MB / 1.09 GB, free: 0.6875 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009721/0.9939, allocations: 1.34 MB / 1.091 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001506/0.9954, allocations: 352.6 kB / 1.092 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007595/0.9962, allocations: 0.55 MB / 1.092 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of SimCode: time 1.253e-06/0.9962, allocations: 0 / 1.092 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07048/1.067, allocations: 40.98 MB / 1.132 GB, free: 6 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002287/1.067, allocations: 255.7 kB / 1.132 GB, free: 5.746 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.844/3.911, allocations: 7.875 kB / 1.132 GB, free: 5.738 MB / 0.8419 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)