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.001372/0.001372, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002145/0.002146, allocations: 194.1 kB / 16.13 MB, free: 6.652 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.596/1.596, allocations: 205.1 MB / 222 MB, free: 4.957 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.735/1.735, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001374/0.001375, allocations: 61.81 kB / 0.6708 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2984, allocations: 114.5 MB / 0.7827 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.8501/1.149, allocations: 212.4 MB / 0.9901 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02291/1.172, allocations: 21.44 MB / 1.011 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003296/1.175, allocations: 47.59 kB / 1.011 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003316/1.178, allocations: 0.6194 MB / 1.012 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0141/1.192, allocations: 3.975 MB / 1.016 GB, free: 408 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00356/1.196, allocations: 0.957 MB / 1.016 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.007453/1.203, allocations: 5.332 MB / 1.022 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002194/1.206, allocations: 1.329 MB / 1.023 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003133/1.209, allocations: 1.44 MB / 1.024 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003242/1.212, allocations: 1.596 MB / 1.026 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.00024/1.212, allocations: 92.34 kB / 1.026 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004161/1.217, allocations: 2.03 MB / 1.028 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0007959/1.217, allocations: 0.6726 MB / 1.029 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001313/1.219, allocations: 0.8726 MB / 1.03 GB, free: 9.898 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004548/1.223, allocations: 2.917 MB / 1.032 GB, free: 8.152 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.223, allocations: 0 / 1.032 GB, free: 8.152 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.473e-06/1.223, allocations: 0 / 1.032 GB, free: 8.152 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 4.17e-05/1.223, allocations: 0 / 1.032 GB, free: 8.152 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.003416/1.227, allocations: 2.034 MB / 1.034 GB, free: 6.68 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/1.227, allocations: 8.656 kB / 1.034 GB, free: 6.68 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002065/1.229, allocations: 373.3 kB / 1.035 GB, free: 6.516 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001785/1.231, allocations: 1.085 MB / 1.036 GB, free: 5.734 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.159e-05/1.231, allocations: 101.9 kB / 1.036 GB, free: 5.688 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001671/1.231, allocations: 138.5 kB / 1.036 GB, free: 5.641 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002305/1.233, allocations: 1.587 MB / 1.038 GB, free: 4.656 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.696e-05/1.233, allocations: 6.188 kB / 1.038 GB, free: 4.652 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/1.233, allocations: 53.38 kB / 1.038 GB, free: 4.613 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-05/1.233, allocations: 53.12 kB / 1.038 GB, free: 4.602 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001829/1.235, allocations: 1.281 MB / 1.039 GB, free: 3.977 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.007546/1.243, allocations: 6.494 MB / 1.045 GB, free: 14.56 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/1.244, allocations: 0.7782 MB / 1.046 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005417/1.244, allocations: 436.6 kB / 1.046 GB, free: 13.97 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006873/1.245, allocations: 415.6 kB / 1.047 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/1.245, allocations: 40.59 kB / 1.047 GB, free: 13.51 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=73): time 2.565e-06/1.245, allocations: 4 kB / 1.047 GB, free: 13.51 MB / 0.7637 GB Notification: Performance of matching and sorting (n=73): time 0.002827/1.248, allocations: 1.542 MB / 1.048 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/1.248, allocations: 59.66 kB / 1.048 GB, free: 12.51 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001797/1.25, allocations: 1.268 MB / 1.05 GB, free: 11.82 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001142/1.25, allocations: 43.89 kB / 1.05 GB, free: 11.78 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006192/1.251, allocations: 0.6922 MB / 1.05 GB, free: 11.17 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002945/1.251, allocations: 266.5 kB / 1.051 GB, free: 10.95 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002838/1.251, allocations: 194.6 kB / 1.051 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001519/1.251, allocations: 347.3 kB / 1.051 GB, free: 10.5 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005474/1.252, allocations: 350.7 kB / 1.052 GB, free: 10.19 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008676/1.253, allocations: 0.7193 MB / 1.052 GB, free: 9.309 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/1.254, allocations: 1.053 MB / 1.053 GB, free: 8.137 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/1.254, allocations: 4 kB / 1.053 GB, free: 8.133 MB / 0.7637 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002098/1.256, allocations: 1.254 MB / 1.054 GB, free: 6.859 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/1.256, allocations: 10.66 kB / 1.054 GB, free: 6.852 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/1.256, allocations: 8.812 kB / 1.054 GB, free: 6.844 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003123/1.257, allocations: 134.5 kB / 1.055 GB, free: 6.703 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007363/1.257, allocations: 203.7 kB / 1.055 GB, free: 6.504 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004163/1.262, allocations: 4.835 MB / 1.06 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/1.263, allocations: 189.9 kB / 1.06 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/1.263, allocations: 44 kB / 1.06 GB, free: 1.047 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.0008749/1.264, allocations: 429.2 kB / 1.06 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003019/1.265, allocations: 138.3 kB / 1.06 GB, free: 492 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/1.266, allocations: 1.061 MB / 1.061 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/1.266, allocations: 8 kB / 1.061 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/1.266, allocations: 192 / 1.061 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001179/1.268, allocations: 0.9348 MB / 1.062 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003874/1.271, allocations: 2.395 MB / 1.065 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/1.271, allocations: 11.92 kB / 1.065 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006749/1.272, allocations: 135.8 kB / 1.065 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002594/1.272, allocations: 118.5 kB / 1.065 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-05/1.272, allocations: 23.98 kB / 1.065 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003965/1.276, allocations: 4.823 MB / 1.07 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/1.276, allocations: 7.938 kB / 1.07 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002186/1.279, allocations: 1.532 MB / 1.071 GB, free: 4.789 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007786/1.279, allocations: 315.2 kB / 1.071 GB, free: 4.461 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000174/1.28, allocations: 16 kB / 1.071 GB, free: 4.445 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008706/1.281, allocations: 67.8 kB / 1.071 GB, free: 4.379 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/1.281, allocations: 60.42 kB / 1.072 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.225e-05/1.281, allocations: 24.12 kB / 1.072 GB, free: 4.297 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001183/1.282, allocations: 0.878 MB / 1.072 GB, free: 3.418 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/1.282, allocations: 0 / 1.072 GB, free: 3.418 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00163/1.284, allocations: 451.3 kB / 1.073 GB, free: 2.973 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.0005828/1.284, allocations: 233.7 kB / 1.073 GB, free: 2.762 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001839/1.286, allocations: 1.206 MB / 1.074 GB, free: 1.523 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.286, allocations: 0 / 1.074 GB, free: 1.523 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0008282/1.287, allocations: 0.7384 MB / 1.075 GB, free: 0.7422 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003744/1.291, allocations: 0.8395 MB / 1.076 GB, free: 15.91 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004693/1.295, allocations: 3.21 MB / 1.079 GB, free: 12.65 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009218/1.296, allocations: 1.347 MB / 1.08 GB, free: 11.28 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001513/1.298, allocations: 348.7 kB / 1.081 GB, free: 10.93 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002932/1.298, allocations: 107.4 kB / 1.081 GB, free: 10.82 MB / 0.795 GB Notification: Performance of SimCode: time 7.92e-07/1.298, allocations: 0 / 1.081 GB, free: 10.82 MB / 0.795 GB Notification: Performance of Templates: time 0.05089/1.349, allocations: 29.8 MB / 1.11 GB, free: 13.48 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)