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.001334/0.001334, allocations: 104 kB / 16.35 MB, free: 5.824 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.001245/0.001245, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.29/1.29, allocations: 222.9 MB / 241 MB, free: 15.13 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.828/0.828, allocations: 143.1 MB / 434.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 63.91 kB / 0.5156 GB, free: 14.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3252, allocations: 82.03 MB / 0.5957 GB, free: 16.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM): time 0.5026/0.8278, allocations: 214.8 MB / 0.8054 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0194/0.8473, allocations: 21.38 MB / 0.8263 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00158/0.8489, allocations: 57.84 kB / 0.8264 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001624/0.8506, allocations: 0.733 MB / 0.8271 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008483/0.8591, allocations: 4.255 MB / 0.8312 GB, free: 316 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00234/0.8614, allocations: 1.074 MB / 0.8323 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003972/0.8654, allocations: 3.918 MB / 0.8361 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001783/0.8672, allocations: 1.566 MB / 0.8376 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002744/0.87, allocations: 1.623 MB / 0.8392 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002829/0.8728, allocations: 1.545 MB / 0.8407 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002529/0.8731, allocations: 162 kB / 0.8409 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00345/0.8765, allocations: 1.822 MB / 0.8427 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007265/0.8773, allocations: 0.7461 MB / 0.8434 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001197/0.8785, allocations: 0.9528 MB / 0.8443 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004515/0.883, allocations: 3.033 MB / 0.8473 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.883, allocations: 0 / 0.8473 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.753e-06/0.883, allocations: 0 / 0.8473 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.733e-05/0.8831, allocations: 1.281 kB / 0.8473 GB, free: 9.363 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.003284/0.8864, allocations: 2.043 MB / 0.8493 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.8864, allocations: 8.594 kB / 0.8493 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002229/0.8886, allocations: 403 kB / 0.8497 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002246/0.8909, allocations: 1.163 MB / 0.8508 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.652e-05/0.891, allocations: 102.5 kB / 0.8509 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001981/0.8912, allocations: 139.9 kB / 0.8511 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002359/0.8936, allocations: 1.586 MB / 0.8526 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.111e-05/0.8936, allocations: 6.531 kB / 0.8526 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/0.8937, allocations: 52 kB / 0.8527 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.406e-05/0.8938, allocations: 46.45 kB / 0.8527 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001993/0.8958, allocations: 1.295 MB / 0.854 GB, free: 3.48 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.007619/0.9034, allocations: 6.478 MB / 0.8603 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.9048, allocations: 0.9457 MB / 0.8612 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006416/0.9055, allocations: 482.6 kB / 0.8617 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006974/0.9062, allocations: 418.5 kB / 0.8621 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.9062, allocations: 39.22 kB / 0.8621 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=82): time 2.264e-06/0.9062, allocations: 0 / 0.8621 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of matching and sorting (n=84): time 0.005001/0.9112, allocations: 2.956 MB / 0.865 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.9113, allocations: 64.34 kB / 0.8651 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/0.9127, allocations: 1.197 MB / 0.8662 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.156e-05/0.9128, allocations: 45.7 kB / 0.8663 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004945/0.9133, allocations: 0.6744 MB / 0.8669 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002452/0.9135, allocations: 305.9 kB / 0.8672 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002902/0.9138, allocations: 194.5 kB / 0.8674 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.914, allocations: 345.9 kB / 0.8677 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005623/0.9145, allocations: 373.8 kB / 0.8681 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008304/0.9154, allocations: 0.7202 MB / 0.8688 GB, free: 3.629 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.01159/0.927, allocations: 2.924 MB / 0.8717 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.927, allocations: 4 kB / 0.8717 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001981/0.929, allocations: 1.297 MB / 0.8729 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.929, allocations: 10.62 kB / 0.8729 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.929, allocations: 16 kB / 0.8729 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002737/0.9293, allocations: 131.2 kB / 0.8731 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007672/0.9301, allocations: 211.1 kB / 0.8733 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004192/0.9343, allocations: 5.361 MB / 0.8785 GB, free: 9.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.9354, allocations: 47.83 kB / 0.8786 GB, free: 9.184 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.25e-05/0.9355, allocations: 47.98 kB / 0.8786 GB, free: 9.137 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.0006364/0.9361, allocations: 433 kB / 0.879 GB, free: 8.719 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002028/0.9363, allocations: 142.3 kB / 0.8792 GB, free: 8.578 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001725/0.9381, allocations: 1.087 MB / 0.8802 GB, free: 7.473 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.9381, allocations: 8 kB / 0.8802 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.9381, allocations: 0 / 0.8802 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001384/0.9395, allocations: 1.068 MB / 0.8813 GB, free: 6.344 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00516/0.9446, allocations: 3.082 MB / 0.8843 GB, free: 3.113 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.9447, allocations: 8 kB / 0.8843 GB, free: 3.105 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007167/0.9454, allocations: 155.6 kB / 0.8844 GB, free: 2.961 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002503/0.9457, allocations: 129 kB / 0.8846 GB, free: 2.828 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.037e-05/0.9457, allocations: 28.44 kB / 0.8846 GB, free: 2.801 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004177/0.9499, allocations: 5.359 MB / 0.8898 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.766e-06/0.9499, allocations: 14.59 kB / 0.8898 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002365/0.9523, allocations: 1.742 MB / 0.8915 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006893/0.953, allocations: 315.2 kB / 0.8918 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001748/0.9532, allocations: 27.98 kB / 0.8919 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007969/0.954, allocations: 29.88 kB / 0.8919 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.9542, allocations: 81.42 kB / 0.892 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.352e-05/0.9542, allocations: 31.98 kB / 0.892 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001203/0.9554, allocations: 0.8461 MB / 0.8928 GB, free: 9.875 MB / 0.6387 GB Notification: Performance of sort global known variables: time 5.61e-07/0.9555, allocations: 0 / 0.8928 GB, free: 9.875 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001561/0.957, allocations: 408 kB / 0.8932 GB, free: 9.477 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.000554/0.9576, allocations: 256.3 kB / 0.8935 GB, free: 9.25 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002109/0.9597, allocations: 1.289 MB / 0.8947 GB, free: 7.953 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.9597, allocations: 2.531 kB / 0.8947 GB, free: 7.953 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.9607, allocations: 0.7951 MB / 0.8955 GB, free: 7.152 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00343/0.9642, allocations: 0.892 MB / 0.8964 GB, free: 6.305 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003984/0.9682, allocations: 2.84 MB / 0.8991 GB, free: 3.379 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009069/0.9691, allocations: 1.359 MB / 0.9005 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001018/0.9701, allocations: 352.6 kB / 0.9008 GB, free: 1.641 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000281/0.9704, allocations: 115.4 kB / 0.9009 GB, free: 1.527 MB / 0.6387 GB Notification: Performance of SimCode: time 8.82e-07/0.9704, allocations: 0 / 0.9009 GB, free: 1.527 MB / 0.6387 GB Notification: Performance of Templates: time 0.04744/1.018, allocations: 31.81 MB / 0.932 GB, free: 2.262 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 gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.pipe 2>&1)