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/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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 116.9 kB / 16.37 MB, free: 6.016 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.001135/0.001135, allocations: 189.7 kB / 17.3 MB, free: 5.613 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9826/0.9826, allocations: 143 MB / 434.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 63.91 kB / 0.5156 GB, free: 14.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.3813, allocations: 82.04 MB / 0.5957 GB, free: 16.15 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM): time 0.5333/0.9147, allocations: 214.8 MB / 0.8054 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02177/0.9365, allocations: 21.39 MB / 0.8263 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002008/0.9386, allocations: 57.56 kB / 0.8264 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001854/0.9404, allocations: 0.7396 MB / 0.8271 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01021/0.9507, allocations: 4.25 MB / 0.8313 GB, free: 324 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003377/0.9541, allocations: 1.085 MB / 0.8323 GB, free: 0 / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005249/0.9594, allocations: 3.922 MB / 0.8362 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00199/0.9614, allocations: 1.572 MB / 0.8377 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00344/0.9649, allocations: 1.616 MB / 0.8393 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003522/0.9684, allocations: 1.544 MB / 0.8408 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004037/0.9688, allocations: 162.1 kB / 0.8409 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004292/0.9731, allocations: 1.831 MB / 0.8427 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008135/0.974, allocations: 0.7408 MB / 0.8434 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001692/0.9757, allocations: 0.9552 MB / 0.8444 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006154/0.9818, allocations: 3.04 MB / 0.8473 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.9819, allocations: 0 / 0.8473 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.834e-06/0.9819, allocations: 4 kB / 0.8473 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.835e-05/0.9819, allocations: 0 / 0.8473 GB, free: 9.465 MB / 0.5919 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.003584/0.9855, allocations: 2.037 MB / 0.8493 GB, free: 8 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.9856, allocations: 10.41 kB / 0.8493 GB, free: 8 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002245/0.9878, allocations: 404 kB / 0.8497 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002456/0.9903, allocations: 1.159 MB / 0.8509 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.9904, allocations: 102.6 kB / 0.851 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002006/0.9906, allocations: 139.9 kB / 0.8511 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002565/0.9932, allocations: 1.583 MB / 0.8526 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.557e-05/0.9932, allocations: 2.531 kB / 0.8526 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/0.9934, allocations: 52 kB / 0.8527 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.401e-05/0.9934, allocations: 58.44 kB / 0.8527 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002093/0.9955, allocations: 1.291 MB / 0.854 GB, free: 3.582 MB / 0.5919 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.008644/1.004, allocations: 6.48 MB / 0.8603 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/1.006, allocations: 0.9458 MB / 0.8613 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006713/1.006, allocations: 478.6 kB / 0.8617 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007564/1.007, allocations: 412.9 kB / 0.8621 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/1.007, allocations: 43.22 kB / 0.8621 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=82): time 2.605e-06/1.007, allocations: 0 / 0.8621 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of matching and sorting (n=84): time 0.005397/1.013, allocations: 2.954 MB / 0.865 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/1.013, allocations: 64.34 kB / 0.8651 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001535/1.014, allocations: 1.197 MB / 0.8663 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.255e-05/1.014, allocations: 45.7 kB / 0.8663 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004917/1.015, allocations: 0.6714 MB / 0.867 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002459/1.015, allocations: 309 kB / 0.8673 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002808/1.015, allocations: 190.5 kB / 0.8674 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001282/1.015, allocations: 345.9 kB / 0.8678 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005588/1.016, allocations: 369.8 kB / 0.8681 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008341/1.017, allocations: 0.732 MB / 0.8688 GB, free: 3.73 MB / 0.6075 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.01224/1.029, allocations: 2.918 MB / 0.8717 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/1.029, allocations: 0 / 0.8717 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002338/1.031, allocations: 1.301 MB / 0.873 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/1.032, allocations: 8 kB / 0.873 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/1.032, allocations: 10.62 kB / 0.873 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003042/1.032, allocations: 130.5 kB / 0.8731 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007915/1.033, allocations: 207.7 kB / 0.8733 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004391/1.037, allocations: 5.365 MB / 0.8785 GB, free: 9.348 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/1.039, allocations: 59.88 kB / 0.8786 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.27e-05/1.039, allocations: 44 kB / 0.8786 GB, free: 9.246 MB / 0.6231 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.0006982/1.039, allocations: 426.3 kB / 0.879 GB, free: 8.836 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000218/1.04, allocations: 138.3 kB / 0.8792 GB, free: 8.699 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001791/1.041, allocations: 1.099 MB / 0.8802 GB, free: 7.582 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/1.041, allocations: 8 kB / 0.8803 GB, free: 7.574 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/1.041, allocations: 0 / 0.8803 GB, free: 7.574 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001412/1.043, allocations: 1.068 MB / 0.8813 GB, free: 6.449 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005254/1.048, allocations: 3.087 MB / 0.8843 GB, free: 3.215 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/1.048, allocations: 4 kB / 0.8843 GB, free: 3.211 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007547/1.049, allocations: 155.5 kB / 0.8845 GB, free: 3.066 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000269/1.049, allocations: 129.1 kB / 0.8846 GB, free: 2.934 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.44e-05/1.049, allocations: 27.98 kB / 0.8846 GB, free: 2.906 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004684/1.054, allocations: 5.366 MB / 0.8899 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/1.054, allocations: 6.531 kB / 0.8899 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002806/1.057, allocations: 1.739 MB / 0.8916 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000876/1.058, allocations: 315.2 kB / 0.8919 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002167/1.058, allocations: 30.53 kB / 0.8919 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008388/1.059, allocations: 27.98 kB / 0.8919 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001634/1.059, allocations: 73.42 kB / 0.892 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.829e-05/1.059, allocations: 43.98 kB / 0.892 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001214/1.06, allocations: 0.8461 MB / 0.8929 GB, free: 9.98 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.71e-07/1.06, allocations: 0 / 0.8929 GB, free: 9.98 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001835/1.062, allocations: 404 kB / 0.8932 GB, free: 9.586 MB / 0.6387 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.0007334/1.063, allocations: 255.9 kB / 0.8935 GB, free: 9.359 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002238/1.065, allocations: 1.286 MB / 0.8947 GB, free: 8.066 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/1.065, allocations: 0 / 0.8947 GB, free: 8.066 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009975/1.066, allocations: 0.8042 MB / 0.8955 GB, free: 7.258 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003997/1.07, allocations: 0.9086 MB / 0.8964 GB, free: 6.395 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004664/1.075, allocations: 2.823 MB / 0.8992 GB, free: 3.48 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009967/1.076, allocations: 1.351 MB / 0.9005 GB, free: 2.102 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001506/1.077, allocations: 352.6 kB / 0.9008 GB, free: 1.75 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003513/1.078, allocations: 115.4 kB / 0.9009 GB, free: 1.637 MB / 0.6387 GB Notification: Performance of SimCode: time 2.926e-06/1.078, allocations: 0 / 0.9009 GB, free: 1.637 MB / 0.6387 GB Notification: Performance of Templates: time 0.05516/1.133, allocations: 31.82 MB / 0.932 GB, free: 2.367 MB / 0.67 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 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.pipe 2>&1)