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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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(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.001854/0.001854, allocations: 104.7 kB / 15.98 MB, free: 6.355 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.001826/0.001826, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.429/1.429, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9478/0.9478, allocations: 143.3 MB / 434.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 71.89 kB / 0.5146 GB, free: 15.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3728, allocations: 82.02 MB / 0.5947 GB, free: 16.19 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM): time 0.5616/0.9344, allocations: 212 MB / 0.8018 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02034/0.9548, allocations: 21.23 MB / 0.8225 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001949/0.9568, allocations: 44.81 kB / 0.8225 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001894/0.9587, allocations: 0.6387 MB / 0.8232 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009014/0.9677, allocations: 3.997 MB / 0.8271 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002652/0.9704, allocations: 0.9748 MB / 0.828 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00493/0.9753, allocations: 3.923 MB / 0.8318 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002364/0.9777, allocations: 1.506 MB / 0.8333 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003513/0.9813, allocations: 1.644 MB / 0.8349 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003811/0.9851, allocations: 1.652 MB / 0.8365 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003984/0.9855, allocations: 163.8 kB / 0.8367 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003938/0.9895, allocations: 1.914 MB / 0.8386 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009479/0.9904, allocations: 0.7422 MB / 0.8393 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001498/0.992, allocations: 0.9616 MB / 0.8402 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003798/0.9958, allocations: 2.317 MB / 0.8425 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.9958, allocations: 3.938 kB / 0.8425 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9958, allocations: 1.219 kB / 0.8425 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.529e-05/0.9959, allocations: 0 / 0.8425 GB, free: 11.2 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.004942/1.001, allocations: 2.044 MB / 0.8445 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/1.001, allocations: 10.59 kB / 0.8445 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002498/1.003, allocations: 403.3 kB / 0.8449 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002275/1.006, allocations: 1.102 MB / 0.846 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.874e-05/1.006, allocations: 102.4 kB / 0.846 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002024/1.006, allocations: 138 kB / 0.8462 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002788/1.009, allocations: 1.585 MB / 0.8477 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.58e-05/1.009, allocations: 10.44 kB / 0.8477 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001368/1.009, allocations: 55.98 kB / 0.8478 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.253e-05/1.009, allocations: 46.45 kB / 0.8478 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002275/1.011, allocations: 1.295 MB / 0.8491 GB, free: 6.113 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.009197/1.021, allocations: 6.477 MB / 0.8554 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/1.022, allocations: 0.9564 MB / 0.8564 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007264/1.023, allocations: 482.5 kB / 0.8568 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007814/1.024, allocations: 410.5 kB / 0.8572 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/1.024, allocations: 51.2 kB / 0.8573 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=82): time 2.585e-06/1.024, allocations: 0 / 0.8573 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of matching and sorting (n=84): time 0.006334/1.03, allocations: 2.934 MB / 0.8601 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/1.03, allocations: 70.78 kB / 0.8602 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001725/1.032, allocations: 1.193 MB / 0.8614 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.792e-05/1.032, allocations: 53.7 kB / 0.8614 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005739/1.033, allocations: 0.6736 MB / 0.8621 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003073/1.033, allocations: 300.7 kB / 0.8624 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003115/1.033, allocations: 190.5 kB / 0.8625 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001731/1.033, allocations: 349.9 kB / 0.8629 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006145/1.034, allocations: 373.8 kB / 0.8632 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/1.035, allocations: 0.7242 MB / 0.8639 GB, free: 6.258 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.01267/1.048, allocations: 2.923 MB / 0.8668 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/1.048, allocations: 4 kB / 0.8668 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002381/1.05, allocations: 1.301 MB / 0.8681 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/1.05, allocations: 8 kB / 0.8681 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/1.05, allocations: 12 kB / 0.8681 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003313/1.051, allocations: 133.6 kB / 0.8682 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008142/1.051, allocations: 204.7 kB / 0.8684 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00525/1.057, allocations: 5.371 MB / 0.8736 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/1.058, allocations: 107.7 kB / 0.8738 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/1.059, allocations: 44 kB / 0.8738 GB, free: 11.71 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.0008209/1.059, allocations: 435.2 kB / 0.8742 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002793/1.06, allocations: 142.3 kB / 0.8743 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001953/1.062, allocations: 1.089 MB / 0.8754 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/1.062, allocations: 11.98 kB / 0.8754 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/1.062, allocations: 4 kB / 0.8754 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00156/1.063, allocations: 1.057 MB / 0.8765 GB, free: 8.918 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006186/1.069, allocations: 3.091 MB / 0.8795 GB, free: 5.676 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/1.069, allocations: 4 kB / 0.8795 GB, free: 5.672 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007713/1.07, allocations: 162.1 kB / 0.8796 GB, free: 5.523 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003671/1.071, allocations: 129.6 kB / 0.8798 GB, free: 5.391 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-05/1.071, allocations: 31.98 kB / 0.8798 GB, free: 5.359 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005436/1.076, allocations: 5.364 MB / 0.885 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-05/1.076, allocations: 10.44 kB / 0.885 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00321/1.079, allocations: 1.737 MB / 0.8867 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009756/1.08, allocations: 323.2 kB / 0.887 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002038/1.081, allocations: 24 kB / 0.8871 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009688/1.082, allocations: 75.78 kB / 0.8871 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/1.082, allocations: 80.05 kB / 0.8872 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.382e-05/1.082, allocations: 39.98 kB / 0.8872 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001352/1.083, allocations: 0.8461 MB / 0.8881 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.61e-07/1.083, allocations: 0 / 0.8881 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00169/1.085, allocations: 408 kB / 0.8885 GB, free: 11.98 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.0005964/1.086, allocations: 243.3 kB / 0.8887 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002516/1.088, allocations: 1.448 MB / 0.8901 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/1.088, allocations: 0 / 0.8901 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001116/1.089, allocations: 0.7918 MB / 0.8909 GB, free: 9.52 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004173/1.093, allocations: 0.907 MB / 0.8918 GB, free: 8.637 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005387/1.099, allocations: 3.466 MB / 0.8952 GB, free: 5.074 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001138/1.1, allocations: 1.362 MB / 0.8965 GB, free: 3.684 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004443/1.1, allocations: 115.4 kB / 0.8966 GB, free: 3.57 MB / 0.6387 GB Notification: Performance of SimCode: time 6.31e-07/1.1, allocations: 0 / 0.8966 GB, free: 3.57 MB / 0.6387 GB Notification: Performance of Templates: time 0.05648/1.157, allocations: 43.11 MB / 0.9387 GB, free: 8.691 MB / 0.6856 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)