Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM") translateModel(BuildingSystems.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.008563/0.008563, allocations: 103.8 kB / 15.73 MB, free: 6.047 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.001957/0.001957, allocations: 189.4 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002153/0.002153, allocations: 293.4 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9589/0.9589, allocations: 169.3 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 91.86 kB / 0.6815 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4859/0.4877, allocations: 86.98 MB / 0.7664 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.PPM): time 0.6876/1.175, allocations: 214.6 MB / 0.976 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0215/1.197, allocations: 21.34 MB / 0.9968 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00237/1.199, allocations: 51.03 kB / 0.9969 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002036/1.201, allocations: 0.7405 MB / 0.9976 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.009043/1.211, allocations: 4.247 MB / 1.002 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002452/1.213, allocations: 1.063 MB / 1.003 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004234/1.217, allocations: 3.918 MB / 1.007 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00184/1.219, allocations: 1.579 MB / 1.008 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002752/1.222, allocations: 1.642 MB / 1.01 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002945/1.225, allocations: 1.549 MB / 1.011 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002961/1.225, allocations: 162.2 kB / 1.011 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003508/1.229, allocations: 1.825 MB / 1.013 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006946/1.229, allocations: 0.7395 MB / 1.014 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001055/1.23, allocations: 0.9602 MB / 1.015 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004404/1.235, allocations: 2.933 MB / 1.018 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/1.235, allocations: 1.531 kB / 1.018 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.693e-06/1.235, allocations: 3.094 kB / 1.018 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.567e-05/1.235, allocations: 0 / 1.018 GB, free: 0.5703 MB / 0.7169 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.003537/1.238, allocations: 2.038 MB / 1.02 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/1.238, allocations: 9.062 kB / 1.02 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002184/1.241, allocations: 404.4 kB / 1.02 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002264/1.243, allocations: 1.152 MB / 1.021 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.231e-05/1.243, allocations: 98.91 kB / 1.021 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001979/1.243, allocations: 146 kB / 1.021 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002502/1.246, allocations: 1.582 MB / 1.023 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.31e-05/1.246, allocations: 7.031 kB / 1.023 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/1.246, allocations: 52.03 kB / 1.023 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.286e-05/1.246, allocations: 58.45 kB / 1.023 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001954/1.248, allocations: 1.295 MB / 1.024 GB, free: 14.84 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.008488/1.256, allocations: 6.474 MB / 1.031 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/1.258, allocations: 0.951 MB / 1.032 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005846/1.258, allocations: 481.6 kB / 1.032 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007336/1.259, allocations: 410.1 kB / 1.032 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/1.259, allocations: 48.44 kB / 1.033 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=82): time 6.181e-06/1.259, allocations: 0 / 1.033 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=84): time 0.0057/1.265, allocations: 2.947 MB / 1.035 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.755e-05/1.265, allocations: 61.59 kB / 1.035 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002036/1.267, allocations: 1.194 MB / 1.037 GB, free: 9.961 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001039/1.267, allocations: 47.89 kB / 1.037 GB, free: 9.93 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005478/1.268, allocations: 0.6797 MB / 1.037 GB, free: 9.668 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003473/1.268, allocations: 297.8 kB / 1.038 GB, free: 9.48 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003033/1.268, allocations: 193.4 kB / 1.038 GB, free: 9.453 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001957/1.269, allocations: 349 kB / 1.038 GB, free: 9.145 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005635/1.269, allocations: 375.6 kB / 1.039 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008407/1.27, allocations: 0.7222 MB / 1.039 GB, free: 8.594 MB / 0.7325 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (sin.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01233/1.282, allocations: 2.928 MB / 1.042 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/1.282, allocations: 10.31 kB / 1.042 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002467/1.285, allocations: 1.295 MB / 1.043 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/1.285, allocations: 11.38 kB / 1.043 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/1.285, allocations: 8.906 kB / 1.043 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003064/1.285, allocations: 136.8 kB / 1.043 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007615/1.286, allocations: 207 kB / 1.044 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004667/1.291, allocations: 5.372 MB / 1.049 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/1.292, allocations: 43.77 kB / 1.049 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/1.292, allocations: 48.23 kB / 1.049 GB, free: 1.859 MB / 0.7325 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (116): * Single equations (assignments): 113 * 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.0009249/1.293, allocations: 428.4 kB / 1.049 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002871/1.294, allocations: 142.6 kB / 1.05 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001855/1.295, allocations: 1.092 MB / 1.051 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/1.295, allocations: 9.781 kB / 1.051 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/1.295, allocations: 0 / 1.051 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001459/1.297, allocations: 1.058 MB / 1.052 GB, free: 224 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006003/1.303, allocations: 3.087 MB / 1.055 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/1.303, allocations: 4 kB / 1.055 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007257/1.304, allocations: 165.3 kB / 1.055 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002626/1.304, allocations: 131 kB / 1.055 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-05/1.304, allocations: 28 kB / 1.055 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00457/1.309, allocations: 5.359 MB / 1.06 GB, free: 7.508 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/1.309, allocations: 14.58 kB / 1.06 GB, free: 7.496 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002611/1.311, allocations: 1.741 MB / 1.062 GB, free: 5.664 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007962/1.312, allocations: 311.3 kB / 1.062 GB, free: 5.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001732/1.312, allocations: 27.98 kB / 1.062 GB, free: 5.312 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008134/1.313, allocations: 25.5 kB / 1.062 GB, free: 5.289 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/1.313, allocations: 81.47 kB / 1.062 GB, free: 5.211 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.058e-05/1.313, allocations: 40.11 kB / 1.062 GB, free: 5.172 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001292/1.315, allocations: 0.8383 MB / 1.063 GB, free: 4.332 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/1.315, allocations: 0 / 1.063 GB, free: 4.332 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001741/1.316, allocations: 416 kB / 1.064 GB, free: 3.926 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 6 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,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 (75): * Single equations (assignments): 72 * 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.0006006/1.317, allocations: 249.5 kB / 1.064 GB, free: 3.703 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002072/1.319, allocations: 1.293 MB / 1.065 GB, free: 2.414 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/1.319, allocations: 0 / 1.065 GB, free: 2.414 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009695/1.32, allocations: 0.7862 MB / 1.066 GB, free: 1.617 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00416/1.324, allocations: 0.8976 MB / 1.067 GB, free: 0.7344 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004475/1.329, allocations: 2.831 MB / 1.07 GB, free: 13.82 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00095/1.33, allocations: 1.359 MB / 1.071 GB, free: 12.43 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001251/1.331, allocations: 348.6 kB / 1.071 GB, free: 12.08 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003079/1.331, allocations: 115.4 kB / 1.071 GB, free: 11.97 MB / 0.7637 GB Notification: Performance of SimCode: time 1.272e-06/1.331, allocations: 0 / 1.071 GB, free: 11.97 MB / 0.7637 GB Notification: Performance of Templates: time 0.05391/1.385, allocations: 32.65 MB / 1.103 GB, free: 11.9 MB / 0.795 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe 2>&1)