Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.923/1.923, allocations: 288.4 MB / 303.3 MB, free: 8.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001233/0.001233, allocations: 183.2 kB / 372 MB, free: 10.23 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.957/1.957, allocations: 205.4 MB / 0.6307 GB, free: 9.945 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009128/0.0009127, allocations: 90.92 kB / 0.744 GB, free: 5.875 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004562/0.0004563, allocations: 13 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2756, allocations: 115.3 MB / 0.9796 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.8669/1.143, allocations: 195.5 MB / 1.171 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.02767/1.17, allocations: 19.8 MB / 1.19 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002704/1.173, allocations: 42.56 kB / 1.19 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.002249/1.175, allocations: 0.5002 MB / 1.19 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0116/1.187, allocations: 2.959 MB / 1.193 GB, free: 7.875 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.00339/1.19, allocations: 0.7748 MB / 1.194 GB, free: 7.32 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.006951/1.197, allocations: 4.507 MB / 1.198 GB, free: 4.68 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002278/1.2, allocations: 1.158 MB / 1.2 GB, free: 3.996 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003958/1.204, allocations: 1.404 MB / 1.201 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003634/1.207, allocations: 1.462 MB / 1.202 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0002881/1.208, allocations: 70.97 kB / 1.202 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003789/1.211, allocations: 0.8966 MB / 1.203 GB, free: 2.059 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0009072/1.212, allocations: 0.6361 MB / 1.204 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0009257/1.213, allocations: 357.6 kB / 1.204 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.003783/1.217, allocations: 2.028 MB / 1.206 GB, free: 156 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/1.217, allocations: 0 / 1.206 GB, free: 156 kB / 0.7292 GB Notification: Performance of FrontEnd: time 3.777e-06/1.217, allocations: 0 / 1.206 GB, free: 156 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.338e-05/1.217, allocations: 0 / 1.206 GB, free: 156 kB / 0.7292 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.003814/1.221, allocations: 1.71 MB / 1.208 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.536e-05/1.221, allocations: 9.156 kB / 1.208 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003022/1.221, allocations: 195.4 kB / 1.208 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002083/1.223, allocations: 380.8 kB / 1.209 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0021/1.225, allocations: 1.05 MB / 1.21 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.595e-05/1.226, allocations: 109.6 kB / 1.21 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001973/1.226, allocations: 130.6 kB / 1.21 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002655/1.228, allocations: 1.573 MB / 1.211 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/1.229, allocations: 3.938 kB / 1.211 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/1.229, allocations: 50.84 kB / 1.211 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.139e-05/1.229, allocations: 53.38 kB / 1.211 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002053/1.231, allocations: 1.276 MB / 1.213 GB, free: 11.97 MB / 0.7448 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.00831/1.239, allocations: 6.499 MB / 1.219 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/1.24, allocations: 0.7852 MB / 1.22 GB, free: 4.246 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005766/1.241, allocations: 427.3 kB / 1.22 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007358/1.242, allocations: 425.5 kB / 1.221 GB, free: 3.34 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/1.242, allocations: 47.16 kB / 1.221 GB, free: 3.285 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=73): time 3.747e-06/1.242, allocations: 0 / 1.221 GB, free: 3.285 MB / 0.7448 GB Notification: Performance of matching and sorting (n=73): time 0.002915/1.245, allocations: 1.533 MB / 1.222 GB, free: 1.68 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/1.245, allocations: 68 kB / 1.222 GB, free: 1.602 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00161/1.246, allocations: 1.243 MB / 1.223 GB, free: 352 kB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.163e-05/1.246, allocations: 45.7 kB / 1.223 GB, free: 300 kB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006273/1.247, allocations: 0.6992 MB / 1.224 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002905/1.247, allocations: 268.2 kB / 1.224 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.737e-05/1.247, allocations: 20 kB / 1.224 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001382/1.247, allocations: 345.9 kB / 1.225 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005275/1.248, allocations: 341.8 kB / 1.225 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008104/1.249, allocations: 0.7193 MB / 1.226 GB, free: 13.74 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006962/1.25, allocations: 477.5 kB / 1.226 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/1.25, allocations: 0 / 1.226 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001957/1.252, allocations: 1.254 MB / 1.227 GB, free: 12 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/1.252, allocations: 8 kB / 1.227 GB, free: 11.99 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/1.252, allocations: 11.94 kB / 1.227 GB, free: 11.98 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003214/1.252, allocations: 135 kB / 1.228 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007465/1.253, allocations: 211.6 kB / 1.228 GB, free: 11.63 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004176/1.257, allocations: 4.816 MB / 1.232 GB, free: 6.418 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/1.259, allocations: 182.5 kB / 1.233 GB, free: 6.238 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.703e-05/1.259, allocations: 51.94 kB / 1.233 GB, free: 6.188 MB / 0.7605 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.0008417/1.259, allocations: 425.3 kB / 1.233 GB, free: 5.762 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002243/1.26, allocations: 142.2 kB / 1.233 GB, free: 5.621 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001633/1.261, allocations: 1.052 MB / 1.234 GB, free: 4.535 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/1.261, allocations: 15.95 kB / 1.234 GB, free: 4.52 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/1.261, allocations: 0 / 1.234 GB, free: 4.52 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001168/1.263, allocations: 0.9271 MB / 1.235 GB, free: 3.535 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003664/1.266, allocations: 2.388 MB / 1.238 GB, free: 1.043 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.879e-06/1.266, allocations: 3.984 kB / 1.238 GB, free: 1.039 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007014/1.267, allocations: 140.1 kB / 1.238 GB, free: 0.9023 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002485/1.267, allocations: 126.6 kB / 1.238 GB, free: 0.7695 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.224e-05/1.267, allocations: 19.98 kB / 1.238 GB, free: 0.75 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00398/1.271, allocations: 4.808 MB / 1.243 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.279e-06/1.271, allocations: 4.031 kB / 1.243 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002527/1.274, allocations: 1.539 MB / 1.244 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008915/1.275, allocations: 319.2 kB / 1.244 GB, free: 9.609 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/1.275, allocations: 16 kB / 1.244 GB, free: 9.594 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008746/1.276, allocations: 67.78 kB / 1.244 GB, free: 9.527 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/1.276, allocations: 60.45 kB / 1.244 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-05/1.276, allocations: 23.98 kB / 1.244 GB, free: 9.445 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001483/1.277, allocations: 0.8701 MB / 1.245 GB, free: 8.574 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.1e-07/1.277, allocations: 0 / 1.245 GB, free: 8.574 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002073/1.28, allocations: 447.3 kB / 1.246 GB, free: 8.137 MB / 0.7761 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.00351/1.283, allocations: 2.222 MB / 1.248 GB, free: 5.863 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002139/1.285, allocations: 1.191 MB / 1.249 GB, free: 4.641 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/1.285, allocations: 0 / 1.249 GB, free: 4.641 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0009394/1.286, allocations: 0.7308 MB / 1.25 GB, free: 3.867 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003966/1.29, allocations: 0.8502 MB / 1.251 GB, free: 3.031 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01393/1.304, allocations: 8.853 MB / 1.259 GB, free: 9.695 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/1.305, allocations: 1.351 MB / 1.261 GB, free: 8.316 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.001676/1.307, allocations: 348.6 kB / 1.261 GB, free: 7.969 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007376/1.308, allocations: 0.5383 MB / 1.261 GB, free: 7.434 MB / 0.7917 GB Notification: Performance of SimCode: time 1.122e-06/1.308, allocations: 4 kB / 1.261 GB, free: 7.43 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07811/1.386, allocations: 41.92 MB / 1.302 GB, free: 13.97 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003141/1.386, allocations: 248.8 kB / 1.303 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.695/5.081, allocations: 0 / 1.303 GB, free: 13.68 MB / 0.8386 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_PPM.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1)