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: translateModel(Buildings.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.PPM") translateModel(Buildings.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.PPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 105.4 kB / 15.7 MB, free: 24 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.001135/0.001135, allocations: 196.8 kB / 16.64 MB, free: 6.453 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.581/1.581, allocations: 205.1 MB / 222.5 MB, free: 4.57 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.881/1.881, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001444/0.001444, allocations: 73.7 kB / 0.6723 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2768, allocations: 114.6 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.8216/1.099, allocations: 214.6 MB / 0.9937 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02843/1.127, allocations: 21.29 MB / 1.015 GB, free: 496 kB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002717/1.13, allocations: 52.31 kB / 1.015 GB, free: 476 kB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0024/1.132, allocations: 0.7409 MB / 1.015 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0115/1.144, allocations: 4.236 MB / 1.019 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003555/1.147, allocations: 1.062 MB / 1.02 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.005548/1.153, allocations: 3.868 MB / 1.024 GB, free: 9.582 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002171/1.155, allocations: 1.564 MB / 1.026 GB, free: 8.645 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003276/1.158, allocations: 1.626 MB / 1.027 GB, free: 7.715 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003127/1.162, allocations: 1.546 MB / 1.029 GB, free: 6.828 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002694/1.162, allocations: 160.7 kB / 1.029 GB, free: 6.828 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003732/1.166, allocations: 1.764 MB / 1.031 GB, free: 5.902 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0007129/1.166, allocations: 0.7486 MB / 1.031 GB, free: 5.402 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001202/1.167, allocations: 0.949 MB / 1.032 GB, free: 4.793 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004425/1.172, allocations: 2.894 MB / 1.035 GB, free: 2.922 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/1.172, allocations: 0 / 1.035 GB, free: 2.922 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.044e-06/1.172, allocations: 0 / 1.035 GB, free: 2.922 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 4.654e-05/1.172, allocations: 0 / 1.035 GB, free: 2.922 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.00358/1.176, allocations: 2.033 MB / 1.037 GB, free: 1.438 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/1.176, allocations: 7.75 kB / 1.037 GB, free: 1.438 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002038/1.178, allocations: 377.4 kB / 1.038 GB, free: 1.266 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002206/1.18, allocations: 1.139 MB / 1.039 GB, free: 448 kB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.593e-05/1.18, allocations: 103.5 kB / 1.039 GB, free: 400 kB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001913/1.18, allocations: 136.4 kB / 1.039 GB, free: 352 kB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002571/1.183, allocations: 1.586 MB / 1.04 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/1.183, allocations: 3.938 kB / 1.04 GB, free: 15.35 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/1.183, allocations: 52.69 kB / 1.041 GB, free: 15.31 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.919e-05/1.183, allocations: 51.41 kB / 1.041 GB, free: 15.3 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002005/1.185, allocations: 1.284 MB / 1.042 GB, free: 14.68 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.008354/1.193, allocations: 6.485 MB / 1.048 GB, free: 7.988 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/1.195, allocations: 0.785 MB / 1.049 GB, free: 7.191 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005736/1.195, allocations: 434.5 kB / 1.049 GB, free: 6.766 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007017/1.196, allocations: 417 kB / 1.05 GB, free: 6.285 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/1.196, allocations: 47.16 kB / 1.05 GB, free: 6.23 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=73): time 2.525e-06/1.196, allocations: 0 / 1.05 GB, free: 6.23 MB / 0.7637 GB Notification: Performance of matching and sorting (n=73): time 0.002997/1.199, allocations: 1.537 MB / 1.051 GB, free: 4.621 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/1.199, allocations: 64.06 kB / 1.051 GB, free: 4.547 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001817/1.201, allocations: 1.262 MB / 1.053 GB, free: 3.27 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001183/1.201, allocations: 41.7 kB / 1.053 GB, free: 3.223 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006472/1.202, allocations: 0.6954 MB / 1.053 GB, free: 2.52 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003161/1.202, allocations: 268.2 kB / 1.054 GB, free: 2.254 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003065/1.202, allocations: 194.5 kB / 1.054 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001523/1.202, allocations: 345.9 kB / 1.054 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005124/1.203, allocations: 345.8 kB / 1.054 GB, free: 1.375 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008232/1.204, allocations: 0.7193 MB / 1.055 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001393/1.205, allocations: 1.056 MB / 1.056 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.358e-06/1.205, allocations: 4 kB / 1.056 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002194/1.207, allocations: 1.251 MB / 1.057 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/1.207, allocations: 11.98 kB / 1.057 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/1.207, allocations: 12 kB / 1.057 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003238/1.208, allocations: 126.5 kB / 1.057 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007385/1.209, allocations: 191.7 kB / 1.058 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004558/1.213, allocations: 5.388 MB / 1.063 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/1.215, allocations: 148.9 kB / 1.063 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.502e-05/1.215, allocations: 43.94 kB / 1.063 GB, free: 7.719 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.0006837/1.215, allocations: 435.7 kB / 1.064 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002337/1.216, allocations: 146.2 kB / 1.064 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001642/1.217, allocations: 1.06 MB / 1.065 GB, free: 6.047 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/1.217, allocations: 4 kB / 1.065 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/1.217, allocations: 4 kB / 1.065 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001183/1.218, allocations: 0.931 MB / 1.066 GB, free: 5.051 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003511/1.222, allocations: 2.388 MB / 1.068 GB, free: 2.559 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/1.222, allocations: 8.297 kB / 1.068 GB, free: 2.551 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006561/1.223, allocations: 135.8 kB / 1.068 GB, free: 2.418 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002472/1.223, allocations: 122.4 kB / 1.068 GB, free: 2.289 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.995e-05/1.223, allocations: 19.98 kB / 1.068 GB, free: 2.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004645/1.228, allocations: 5.37 MB / 1.073 GB, free: 12.48 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/1.228, allocations: 7.969 kB / 1.073 GB, free: 12.47 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002486/1.23, allocations: 1.536 MB / 1.075 GB, free: 10.88 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006567/1.231, allocations: 311.1 kB / 1.075 GB, free: 10.55 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001726/1.231, allocations: 23.98 kB / 1.075 GB, free: 10.53 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006939/1.232, allocations: 16 kB / 1.075 GB, free: 10.52 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/1.232, allocations: 64.36 kB / 1.075 GB, free: 10.45 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-05/1.232, allocations: 27.98 kB / 1.075 GB, free: 10.43 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001204/1.233, allocations: 0.8741 MB / 1.076 GB, free: 9.551 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.8e-07/1.233, allocations: 0 / 1.076 GB, free: 9.551 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001538/1.235, allocations: 455.2 kB / 1.077 GB, free: 9.105 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.0005257/1.235, allocations: 230.9 kB / 1.077 GB, free: 8.887 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00178/1.237, allocations: 1.215 MB / 1.078 GB, free: 7.637 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/1.237, allocations: 4 kB / 1.078 GB, free: 7.633 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0008713/1.238, allocations: 0.7464 MB / 1.079 GB, free: 6.844 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003681/1.242, allocations: 0.8681 MB / 1.08 GB, free: 5.992 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004202/1.246, allocations: 2.683 MB / 1.082 GB, free: 3.254 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/1.247, allocations: 1.355 MB / 1.084 GB, free: 1.871 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001234/1.248, allocations: 344.5 kB / 1.084 GB, free: 1.527 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002751/1.248, allocations: 107.4 kB / 1.084 GB, free: 1.422 MB / 0.795 GB Notification: Performance of SimCode: time 1.042e-06/1.248, allocations: 0 / 1.084 GB, free: 1.422 MB / 0.795 GB Notification: Performance of Templates: time 0.05357/1.302, allocations: 31.04 MB / 1.114 GB, free: 2.844 MB / 0.8262 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.makefile (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 & ./Buildings_8_Buildings.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1)