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.0007902/0.0007902, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.0057/0.0057, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.571/1.571, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.749/1.749, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005192/0.0005193, allocations: 14.31 kB / 0.6743 GB, free: 25.9 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2942, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.755/1.049, allocations: 209.5 MB / 0.9925 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02394/1.073, allocations: 21.18 MB / 1.013 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00216/1.075, allocations: 41.44 kB / 1.013 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002062/1.078, allocations: 0.6098 MB / 1.014 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01126/1.089, allocations: 3.977 MB / 1.018 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0032/1.092, allocations: 0.963 MB / 1.019 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.007107/1.099, allocations: 5.332 MB / 1.024 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002851/1.102, allocations: 1.289 MB / 1.025 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004729/1.107, allocations: 1.39 MB / 1.026 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00435/1.111, allocations: 1.54 MB / 1.028 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0004053/1.112, allocations: 73.31 kB / 1.028 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004745/1.116, allocations: 2.013 MB / 1.03 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0008909/1.117, allocations: 0.6428 MB / 1.031 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001434/1.119, allocations: 0.8585 MB / 1.031 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.005382/1.124, allocations: 2.868 MB / 1.034 GB, free: 9.574 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/1.124, allocations: 0 / 1.034 GB, free: 9.574 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.356e-06/1.124, allocations: 0 / 1.034 GB, free: 9.574 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.471e-05/1.124, allocations: 0 / 1.034 GB, free: 9.574 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.003596/1.128, allocations: 1.695 MB / 1.036 GB, free: 8.316 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/1.128, allocations: 9 kB / 1.036 GB, free: 8.316 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002163/1.13, allocations: 377.7 kB / 1.036 GB, free: 8.148 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00227/1.132, allocations: 1.089 MB / 1.037 GB, free: 7.367 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.425e-05/1.132, allocations: 97.28 kB / 1.037 GB, free: 7.324 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002252/1.133, allocations: 140.9 kB / 1.038 GB, free: 7.277 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00277/1.135, allocations: 1.587 MB / 1.039 GB, free: 6.293 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.975e-05/1.136, allocations: 6.094 kB / 1.039 GB, free: 6.289 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/1.136, allocations: 50.91 kB / 1.039 GB, free: 6.25 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.043e-05/1.136, allocations: 53.45 kB / 1.039 GB, free: 6.242 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001986/1.138, allocations: 1.287 MB / 1.041 GB, free: 5.609 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.007914/1.146, allocations: 6.493 MB / 1.047 GB, free: 204 kB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/1.147, allocations: 0.7865 MB / 1.048 GB, free: 15.47 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005902/1.147, allocations: 438.6 kB / 1.048 GB, free: 15.04 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007057/1.148, allocations: 422.7 kB / 1.048 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/1.148, allocations: 43.22 kB / 1.048 GB, free: 14.5 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=73): time 2.985e-06/1.148, allocations: 4 kB / 1.048 GB, free: 14.5 MB / 0.7637 GB Notification: Performance of matching and sorting (n=73): time 0.002941/1.151, allocations: 1.537 MB / 1.05 GB, free: 12.89 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/1.151, allocations: 68.06 kB / 1.05 GB, free: 12.81 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001618/1.153, allocations: 1.258 MB / 1.051 GB, free: 11.54 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 8.032e-05/1.153, allocations: 45.7 kB / 1.051 GB, free: 11.49 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005399/1.153, allocations: 0.6902 MB / 1.052 GB, free: 10.79 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002405/1.154, allocations: 266.5 kB / 1.052 GB, free: 10.54 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/1.154, allocations: 89.61 kB / 1.052 GB, free: 10.44 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001408/1.154, allocations: 345.9 kB / 1.053 GB, free: 10.1 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005562/1.155, allocations: 349.8 kB / 1.053 GB, free: 9.758 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008381/1.155, allocations: 0.7232 MB / 1.054 GB, free: 8.871 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001368/1.157, allocations: 1.049 MB / 1.055 GB, free: 7.703 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/1.157, allocations: 4 kB / 1.055 GB, free: 7.699 MB / 0.7637 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002041/1.159, allocations: 1.254 MB / 1.056 GB, free: 6.426 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/1.159, allocations: 10.81 kB / 1.056 GB, free: 6.418 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/1.159, allocations: 15.94 kB / 1.056 GB, free: 6.402 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003054/1.159, allocations: 126.5 kB / 1.056 GB, free: 6.27 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007308/1.16, allocations: 204.1 kB / 1.056 GB, free: 6.07 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004161/1.164, allocations: 4.846 MB / 1.061 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/1.166, allocations: 173.6 kB / 1.061 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.934e-05/1.166, allocations: 47.98 kB / 1.061 GB, free: 0.6133 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.0007456/1.167, allocations: 433.2 kB / 1.062 GB, free: 184 kB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002412/1.167, allocations: 146.2 kB / 1.062 GB, free: 36 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/1.169, allocations: 1.046 MB / 1.063 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/1.169, allocations: 8 kB / 1.063 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/1.169, allocations: 8 kB / 1.063 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001191/1.17, allocations: 0.9426 MB / 1.064 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003644/1.173, allocations: 2.392 MB / 1.066 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/1.173, allocations: 0 / 1.066 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000665/1.174, allocations: 132.1 kB / 1.066 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002709/1.174, allocations: 126.5 kB / 1.066 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-05/1.175, allocations: 19.98 kB / 1.066 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004024/1.179, allocations: 4.826 MB / 1.071 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/1.179, allocations: 7.969 kB / 1.071 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002452/1.181, allocations: 1.547 MB / 1.073 GB, free: 4.348 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000736/1.182, allocations: 315.2 kB / 1.073 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/1.182, allocations: 19.98 kB / 1.073 GB, free: 4 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008806/1.183, allocations: 63.8 kB / 1.073 GB, free: 3.938 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/1.183, allocations: 56.44 kB / 1.073 GB, free: 3.883 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-05/1.183, allocations: 35.92 kB / 1.073 GB, free: 3.848 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001255/1.184, allocations: 0.8741 MB / 1.074 GB, free: 2.973 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/1.184, allocations: 0 / 1.074 GB, free: 2.973 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00164/1.186, allocations: 447.3 kB / 1.074 GB, free: 2.531 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.0005665/1.187, allocations: 225.5 kB / 1.075 GB, free: 2.32 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001915/1.188, allocations: 1.202 MB / 1.076 GB, free: 1.078 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/1.188, allocations: 1.5 kB / 1.076 GB, free: 1.078 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0009521/1.189, allocations: 0.7407 MB / 1.076 GB, free: 304 kB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005142/1.195, allocations: 0.8315 MB / 1.077 GB, free: 15.48 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005267/1.2, allocations: 3.284 MB / 1.08 GB, free: 12.13 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009897/1.201, allocations: 1.347 MB / 1.082 GB, free: 10.76 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001606/1.203, allocations: 344.6 kB / 1.082 GB, free: 10.41 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002984/1.203, allocations: 107.4 kB / 1.082 GB, free: 10.31 MB / 0.795 GB Notification: Performance of SimCode: time 9.92e-07/1.203, allocations: 4 kB / 1.082 GB, free: 10.3 MB / 0.795 GB Notification: Performance of Templates: time 0.04754/1.25, allocations: 29.64 MB / 1.111 GB, free: 13.11 MB / 0.8262 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: