Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM") translateModel(Buildings.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001143/0.001143, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001231/0.001231, allocations: 188.4 kB / 16.25 MB, free: 6.629 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.455/1.455, allocations: 205.1 MB / 222.1 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.56/1.56, allocations: 251.6 MB / 0.5089 GB, free: 3.359 MB / 414.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.001419/0.00142, allocations: 67.91 kB / 0.6217 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6084/0.6098, allocations: 104.7 MB / 0.724 GB, free: 13.24 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.7663/1.376, allocations: 212.2 MB / 0.9313 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02347/1.4, allocations: 21.33 MB / 0.9521 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004295/1.404, allocations: 42.38 kB / 0.9521 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003568/1.408, allocations: 0.6439 MB / 0.9527 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01447/1.422, allocations: 3.992 MB / 0.9566 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003476/1.426, allocations: 1.008 MB / 0.9576 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00571/1.432, allocations: 3.988 MB / 0.9615 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002394/1.434, allocations: 1.539 MB / 0.963 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004321/1.438, allocations: 1.678 MB / 0.9647 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004179/1.443, allocations: 1.657 MB / 0.9663 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005263/1.443, allocations: 163.7 kB / 0.9664 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005437/1.448, allocations: 1.857 MB / 0.9683 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.00108/1.45, allocations: 0.7572 MB / 0.969 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001748/1.451, allocations: 0.964 MB / 0.9699 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005019/1.456, allocations: 3.02 MB / 0.9729 GB, free: 488 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/1.456, allocations: 0.7812 kB / 0.9729 GB, free: 488 kB / 0.7169 GB Notification: Performance of FrontEnd: time 2.645e-06/1.456, allocations: 0 / 0.9729 GB, free: 488 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.02e-05/1.456, allocations: 1.062 kB / 0.9729 GB, free: 488 kB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.003619/1.46, allocations: 2.035 MB / 0.9749 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/1.46, allocations: 10.11 kB / 0.9749 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00214/1.462, allocations: 381 kB / 0.9752 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002017/1.464, allocations: 1.083 MB / 0.9763 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.653e-05/1.464, allocations: 103.2 kB / 0.9764 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001916/1.465, allocations: 133 kB / 0.9765 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002675/1.467, allocations: 1.605 MB / 0.9781 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.862e-05/1.467, allocations: 0.8438 kB / 0.9781 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/1.468, allocations: 53.55 kB / 0.9781 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.078e-05/1.468, allocations: 53.14 kB / 0.9782 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001918/1.47, allocations: 1.298 MB / 0.9795 GB, free: 14.78 MB / 0.7325 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.009548/1.479, allocations: 6.506 MB / 0.9858 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/1.48, allocations: 0.767 MB / 0.9866 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006546/1.481, allocations: 430.4 kB / 0.987 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008443/1.482, allocations: 412.6 kB / 0.9874 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.891e-05/1.482, allocations: 44.91 kB / 0.9874 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=73): time 3.346e-06/1.482, allocations: 0 / 0.9874 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of matching and sorting (n=73): time 0.003196/1.485, allocations: 1.532 MB / 0.9889 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/1.485, allocations: 59.78 kB / 0.989 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001974/1.487, allocations: 1.263 MB / 0.9902 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000166/1.487, allocations: 42.83 kB / 0.9902 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007056/1.488, allocations: 0.6986 MB / 0.9909 GB, free: 9.668 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003299/1.488, allocations: 263.9 kB / 0.9912 GB, free: 9.469 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003222/1.489, allocations: 187.2 kB / 0.9914 GB, free: 9.375 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001504/1.489, allocations: 353 kB / 0.9917 GB, free: 9.047 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006346/1.49, allocations: 344.7 kB / 0.992 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/1.491, allocations: 0.7016 MB / 0.9927 GB, free: 8.391 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001573/1.492, allocations: 1.039 MB / 0.9937 GB, free: 7.758 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.264e-05/1.492, allocations: 2.562 kB / 0.9937 GB, free: 7.758 MB / 0.7325 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002799/1.495, allocations: 1.243 MB / 0.9949 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/1.495, allocations: 11 kB / 0.9949 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/1.495, allocations: 7.656 kB / 0.995 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003359/1.496, allocations: 139.2 kB / 0.9951 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007237/1.496, allocations: 198.4 kB / 0.9953 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004525/1.501, allocations: 5.387 MB / 1.001 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001824/1.503, allocations: 185.5 kB / 1.001 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/1.503, allocations: 47.02 kB / 1.001 GB, free: 2.207 MB / 0.7325 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.0008078/1.504, allocations: 429.2 kB / 1.001 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003213/1.504, allocations: 143.2 kB / 1.001 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001565/1.506, allocations: 1.046 MB / 1.002 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/1.506, allocations: 5.875 kB / 1.002 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/1.506, allocations: 2.531 kB / 1.002 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001083/1.507, allocations: 0.9334 MB / 1.003 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003621/1.51, allocations: 2.385 MB / 1.006 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/1.51, allocations: 5.844 kB / 1.006 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006432/1.511, allocations: 137.4 kB / 1.006 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002449/1.511, allocations: 128.5 kB / 1.006 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.315e-05/1.511, allocations: 16.78 kB / 1.006 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003889/1.515, allocations: 5.366 MB / 1.011 GB, free: 9.875 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/1.515, allocations: 4.031 kB / 1.011 GB, free: 9.875 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002237/1.517, allocations: 1.525 MB / 1.013 GB, free: 8.969 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007052/1.518, allocations: 320.9 kB / 1.013 GB, free: 8.711 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/1.518, allocations: 14.94 kB / 1.013 GB, free: 8.703 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000929/1.519, allocations: 76.72 kB / 1.013 GB, free: 8.664 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/1.519, allocations: 61.59 kB / 1.013 GB, free: 8.633 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.361e-05/1.519, allocations: 26.39 kB / 1.013 GB, free: 8.625 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001151/1.521, allocations: 0.8783 MB / 1.014 GB, free: 7.918 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/1.521, allocations: 0 / 1.014 GB, free: 7.918 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001578/1.522, allocations: 455.2 kB / 1.014 GB, free: 7.473 MB / 0.7481 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.0005536/1.523, allocations: 238.9 kB / 1.015 GB, free: 7.258 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002173/1.525, allocations: 1.365 MB / 1.016 GB, free: 5.898 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/1.525, allocations: 0 / 1.016 GB, free: 5.898 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008069/1.526, allocations: 0.7399 MB / 1.017 GB, free: 5.133 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003905/1.53, allocations: 0.8872 MB / 1.018 GB, free: 4.273 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004371/1.534, allocations: 3.22 MB / 1.021 GB, free: 1.008 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008901/1.535, allocations: 1.351 MB / 1.022 GB, free: 15.63 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001487/1.537, allocations: 344.5 kB / 1.022 GB, free: 15.29 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002758/1.537, allocations: 103.4 kB / 1.022 GB, free: 15.18 MB / 0.7637 GB Notification: Performance of SimCode: time 7.92e-07/1.537, allocations: 2.625 kB / 1.022 GB, free: 15.18 MB / 0.7637 GB Notification: Performance of Templates: time 0.04994/1.587, allocations: 30.95 MB / 1.053 GB, free: 0.7969 MB / 0.7794 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1)