Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6956/0.6956, allocations: 128.7 MB / 144.5 MB, free: 1.398 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 183.2 kB / 174.2 MB, free: 5.934 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.375/1.375, allocations: 205 MB / 408.9 MB, free: 9.754 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000944/0.0009439, allocations: 105.9 kB / 485.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001034/0.001034, allocations: 57.98 kB / 0.558 GB, free: 97.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1268, allocations: 75.46 MB / 0.6317 GB, free: 33.08 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM): time 0.4794/0.6062, allocations: 222.1 MB / 0.8485 GB, free: 9.25 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.02405/0.6303, allocations: 21.83 MB / 0.8699 GB, free: 6.449 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001997/0.6324, allocations: 47.69 kB / 0.8699 GB, free: 6.402 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001894/0.6343, allocations: 0.6568 MB / 0.8705 GB, free: 5.742 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.009233/0.6436, allocations: 4.027 MB / 0.8745 GB, free: 1.699 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002598/0.6462, allocations: 1.04 MB / 0.8755 GB, free: 0.668 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.005831/0.652, allocations: 5.867 MB / 0.8812 GB, free: 10.79 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001968/0.654, allocations: 1.385 MB / 0.8826 GB, free: 9.371 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003124/0.6571, allocations: 1.677 MB / 0.8842 GB, free: 7.688 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0035/0.6607, allocations: 1.667 MB / 0.8858 GB, free: 6.02 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002332/0.6609, allocations: 92 kB / 0.8859 GB, free: 5.93 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003304/0.6642, allocations: 1.625 MB / 0.8875 GB, free: 4.301 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0008148/0.665, allocations: 0.7012 MB / 0.8882 GB, free: 3.598 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.001155/0.6662, allocations: 0.9174 MB / 0.8891 GB, free: 2.676 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.003652/0.6699, allocations: 3.046 MB / 0.8921 GB, free: 15.62 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.6699, allocations: 0 / 0.8921 GB, free: 15.62 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.482e-06/0.6699, allocations: 7.875 kB / 0.8921 GB, free: 15.61 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.516e-05/0.6699, allocations: 0 / 0.8921 GB, free: 15.61 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.003403/0.6733, allocations: 2.065 MB / 0.8941 GB, free: 13.49 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.6734, allocations: 12.03 kB / 0.8941 GB, free: 13.48 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001639/0.675, allocations: 349.5 kB / 0.8944 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001987/0.677, allocations: 1.12 MB / 0.8955 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.371e-05/0.6771, allocations: 110.7 kB / 0.8956 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002018/0.6773, allocations: 136 kB / 0.8958 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002293/0.6796, allocations: 1.647 MB / 0.8974 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.606e-05/0.6797, allocations: 3.938 kB / 0.8974 GB, free: 10 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/0.6798, allocations: 60 kB / 0.8974 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-05/0.6799, allocations: 58.48 kB / 0.8975 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001971/0.6819, allocations: 1.341 MB / 0.8988 GB, free: 8.539 MB / 0.5886 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.007331/0.6892, allocations: 6.61 MB / 0.9053 GB, free: 1.492 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.6902, allocations: 0.7617 MB / 0.906 GB, free: 0.7188 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004958/0.6907, allocations: 408.4 kB / 0.9064 GB, free: 328 kB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002696/0.6935, allocations: 1.906 MB / 0.9083 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.6935, allocations: 39.12 kB / 0.9083 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=66): time 1.874e-06/0.6935, allocations: 0 / 0.9083 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=66): time 0.002293/0.6958, allocations: 1.448 MB / 0.9097 GB, free: 12.71 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.6958, allocations: 55.97 kB / 0.9098 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/0.6973, allocations: 1.291 MB / 0.911 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.404e-05/0.6973, allocations: 41.7 kB / 0.9111 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005884/0.6979, allocations: 0.7715 MB / 0.9118 GB, free: 10.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002048/0.6981, allocations: 240.6 kB / 0.912 GB, free: 10.27 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003148/0.6985, allocations: 230.7 kB / 0.9123 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.6986, allocations: 345.9 kB / 0.9126 GB, free: 9.691 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005124/0.6991, allocations: 370.3 kB / 0.9129 GB, free: 9.328 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008808/0.7, allocations: 0.8993 MB / 0.9138 GB, free: 8.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001444/0.7015, allocations: 1.274 MB / 0.9151 GB, free: 6.691 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.7015, allocations: 4 kB / 0.9151 GB, free: 6.688 MB / 0.6042 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002015/0.7035, allocations: 1.411 MB / 0.9165 GB, free: 5.262 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.7035, allocations: 8 kB / 0.9165 GB, free: 5.254 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/0.7036, allocations: 16 kB / 0.9165 GB, free: 5.238 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003114/0.7039, allocations: 138.5 kB / 0.9166 GB, free: 5.094 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00079/0.7047, allocations: 244 kB / 0.9168 GB, free: 4.855 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00342/0.7081, allocations: 4.719 MB / 0.9214 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.7094, allocations: 214.4 kB / 0.9217 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-05/0.7095, allocations: 56 kB / 0.9217 GB, free: 15.47 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (135): * Single equations (assignments): 132 * 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.0006274/0.7101, allocations: 457.2 kB / 0.9221 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000196/0.7103, allocations: 142.3 kB / 0.9223 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001352/0.7117, allocations: 0.9133 MB / 0.9232 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.7117, allocations: 11.94 kB / 0.9232 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.7117, allocations: 0 / 0.9232 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001016/0.7127, allocations: 0.8957 MB / 0.9241 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003425/0.7162, allocations: 2.233 MB / 0.9262 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/0.7162, allocations: 7.984 kB / 0.9262 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006154/0.7168, allocations: 120.1 kB / 0.9264 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002502/0.7171, allocations: 122.5 kB / 0.9265 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.115e-05/0.7171, allocations: 20 kB / 0.9265 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004079/0.7212, allocations: 4.674 MB / 0.9311 GB, free: 5.297 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/0.7213, allocations: 12.12 kB / 0.9311 GB, free: 5.285 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006899/0.7282, allocations: 5.064 MB / 0.936 GB, free: 32 kB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005984/0.7288, allocations: 315.1 kB / 0.9363 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/0.7289, allocations: 23.92 kB / 0.9363 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007852/0.7297, allocations: 63.86 kB / 0.9364 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.684e-05/0.7298, allocations: 48.44 kB / 0.9364 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.77e-05/0.7299, allocations: 35.97 kB / 0.9365 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001074/0.731, allocations: 0.8551 MB / 0.9373 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.1e-07/0.731, allocations: 0 / 0.9373 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002106/0.7331, allocations: 0.6163 MB / 0.9379 GB, free: 14.06 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (57): * Single equations (assignments): 54 * 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.0005265/0.7336, allocations: 231.5 kB / 0.9381 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001646/0.7353, allocations: 1.241 MB / 0.9393 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.7353, allocations: 0 / 0.9393 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006985/0.736, allocations: 0.7028 MB / 0.94 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003267/0.7393, allocations: 0.806 MB / 0.9408 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004056/0.7433, allocations: 3.67 MB / 0.9444 GB, free: 7.297 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008535/0.7442, allocations: 1.388 MB / 0.9458 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001164/0.7454, allocations: 368.9 kB / 0.9461 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002272/0.7456, allocations: 103.4 kB / 0.9462 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of SimCode: time 4.71e-07/0.7456, allocations: 4 kB / 0.9462 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of Templates: time 0.04372/0.7894, allocations: 29.56 MB / 0.9751 GB, free: 8.188 MB / 0.6667 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.pipe 2>&1)