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.001109/0.001109, allocations: 108 kB / 15.61 MB, free: 152 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.001106/0.001106, allocations: 195.8 kB / 16.53 MB, free: 6.699 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.569/1.569, allocations: 205.1 MB / 222.4 MB, free: 4.637 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.825/1.825, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001695/0.001695, allocations: 73.34 kB / 0.6715 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2879, allocations: 114.5 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.8192/1.107, allocations: 214.6 MB / 0.993 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0272/1.134, allocations: 21.28 MB / 1.014 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003737/1.138, allocations: 46.38 kB / 1.014 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003853/1.142, allocations: 0.7368 MB / 1.015 GB, free: 380 kB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01359/1.156, allocations: 4.238 MB / 1.019 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003686/1.159, allocations: 1.042 MB / 1.02 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0066/1.166, allocations: 3.882 MB / 1.023 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002835/1.169, allocations: 1.557 MB / 1.025 GB, free: 9.215 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004215/1.173, allocations: 1.615 MB / 1.027 GB, free: 8.309 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004258/1.177, allocations: 1.544 MB / 1.028 GB, free: 7.418 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0005906/1.178, allocations: 161.2 kB / 1.028 GB, free: 7.418 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004941/1.183, allocations: 1.767 MB / 1.03 GB, free: 6.488 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001099/1.184, allocations: 0.7387 MB / 1.031 GB, free: 5.996 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001857/1.186, allocations: 0.9514 MB / 1.032 GB, free: 5.387 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.005572/1.192, allocations: 2.851 MB / 1.034 GB, free: 3.539 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/1.192, allocations: 0 / 1.034 GB, free: 3.539 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.783e-06/1.192, allocations: 0 / 1.034 GB, free: 3.539 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 5.487e-05/1.192, allocations: 2 kB / 1.034 GB, free: 3.539 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.003872/1.196, allocations: 2.04 MB / 1.036 GB, free: 2.047 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/1.196, allocations: 7.344 kB / 1.036 GB, free: 2.047 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002156/1.198, allocations: 377 kB / 1.037 GB, free: 1.875 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002212/1.2, allocations: 1.081 MB / 1.038 GB, free: 1.082 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.452e-05/1.2, allocations: 101.8 kB / 1.038 GB, free: 1.035 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001934/1.2, allocations: 136 kB / 1.038 GB, free: 0.9883 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002629/1.203, allocations: 1.585 MB / 1.04 GB, free: 4 kB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/1.203, allocations: 3 kB / 1.04 GB, free: 4 kB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001358/1.203, allocations: 54.11 kB / 1.04 GB, free: 15.96 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-05/1.203, allocations: 55.78 kB / 1.04 GB, free: 15.95 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002044/1.205, allocations: 1.28 MB / 1.041 GB, free: 15.32 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.008751/1.214, allocations: 6.54 MB / 1.047 GB, free: 8.547 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/1.215, allocations: 0.7835 MB / 1.048 GB, free: 7.754 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005825/1.216, allocations: 430.6 kB / 1.048 GB, free: 7.332 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007259/1.217, allocations: 421 kB / 1.049 GB, free: 6.848 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.594e-05/1.217, allocations: 39.22 kB / 1.049 GB, free: 6.801 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=73): time 2.715e-06/1.217, allocations: 4 kB / 1.049 GB, free: 6.797 MB / 0.7637 GB Notification: Performance of matching and sorting (n=73): time 0.003042/1.22, allocations: 1.537 MB / 1.05 GB, free: 5.188 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/1.22, allocations: 60.06 kB / 1.05 GB, free: 5.117 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001773/1.221, allocations: 1.266 MB / 1.052 GB, free: 3.836 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001181/1.222, allocations: 41.7 kB / 1.052 GB, free: 3.789 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005629/1.222, allocations: 0.6992 MB / 1.052 GB, free: 3.082 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002698/1.222, allocations: 260.2 kB / 1.053 GB, free: 2.824 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002829/1.223, allocations: 198.4 kB / 1.053 GB, free: 2.621 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001409/1.223, allocations: 349.9 kB / 1.053 GB, free: 2.273 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005671/1.223, allocations: 345.7 kB / 1.054 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008389/1.224, allocations: 0.7309 MB / 1.054 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/1.226, allocations: 1.048 MB / 1.055 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/1.226, allocations: 4 kB / 1.055 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002071/1.228, allocations: 1.25 MB / 1.057 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/1.228, allocations: 11.98 kB / 1.057 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/1.228, allocations: 8.812 kB / 1.057 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003105/1.228, allocations: 138.4 kB / 1.057 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007335/1.229, allocations: 195.7 kB / 1.057 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004723/1.234, allocations: 5.384 MB / 1.062 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002067/1.236, allocations: 156.4 kB / 1.062 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/1.236, allocations: 44 kB / 1.062 GB, free: 8.262 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.001007/1.237, allocations: 421.4 kB / 1.063 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004165/1.237, allocations: 142.2 kB / 1.063 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001856/1.239, allocations: 1.06 MB / 1.064 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.937e-05/1.239, allocations: 8 kB / 1.064 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/1.239, allocations: 0 / 1.064 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001272/1.241, allocations: 0.9348 MB / 1.065 GB, free: 5.605 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00404/1.245, allocations: 2.392 MB / 1.067 GB, free: 3.109 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/1.245, allocations: 4 kB / 1.067 GB, free: 3.105 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006803/1.245, allocations: 131.8 kB / 1.067 GB, free: 2.977 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002796/1.246, allocations: 134.9 kB / 1.067 GB, free: 2.836 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.279e-05/1.246, allocations: 19.98 kB / 1.067 GB, free: 2.816 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004659/1.25, allocations: 5.366 MB / 1.073 GB, free: 13.03 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/1.25, allocations: 4 kB / 1.073 GB, free: 13.03 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002245/1.253, allocations: 1.536 MB / 1.074 GB, free: 11.43 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000662/1.253, allocations: 315.1 kB / 1.074 GB, free: 11.11 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001702/1.253, allocations: 23.92 kB / 1.074 GB, free: 11.08 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007466/1.254, allocations: 20 kB / 1.074 GB, free: 11.06 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/1.254, allocations: 60.42 kB / 1.075 GB, free: 11 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.063e-05/1.254, allocations: 27.98 kB / 1.075 GB, free: 10.98 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001352/1.256, allocations: 0.8702 MB / 1.075 GB, free: 10.11 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/1.256, allocations: 0 / 1.075 GB, free: 10.11 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00164/1.257, allocations: 455.2 kB / 1.076 GB, free: 9.66 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.0005774/1.258, allocations: 234.2 kB / 1.076 GB, free: 9.438 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002541/1.261, allocations: 1.371 MB / 1.077 GB, free: 8.031 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.261, allocations: 0 / 1.077 GB, free: 8.031 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001084/1.262, allocations: 0.7465 MB / 1.078 GB, free: 7.242 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003852/1.265, allocations: 0.8739 MB / 1.079 GB, free: 6.391 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004713/1.27, allocations: 2.712 MB / 1.082 GB, free: 3.617 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001146/1.271, allocations: 1.343 MB / 1.083 GB, free: 2.246 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001564/1.273, allocations: 352.5 kB / 1.083 GB, free: 1.895 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002753/1.273, allocations: 115.3 kB / 1.083 GB, free: 1.781 MB / 0.795 GB Notification: Performance of SimCode: time 1.593e-06/1.273, allocations: 0 / 1.083 GB, free: 1.781 MB / 0.795 GB Notification: Performance of Templates: time 0.05234/1.326, allocations: 31.07 MB / 1.114 GB, free: 3.18 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)