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.0007777/0.0007779, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005037/0.005037, allocations: 172.1 kB / 16.26 MB, free: 6.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.347/1.347, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.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 1.043/1.043, allocations: 143.4 MB / 434.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003058/0.0003059, allocations: 11.98 kB / 0.5166 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1534, allocations: 83.41 MB / 0.5981 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM): time 0.4746/0.6281, allocations: 209.7 MB / 0.8028 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02493/0.653, allocations: 21.26 MB / 0.8236 GB, free: 4.781 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001583/0.6547, allocations: 43.69 kB / 0.8236 GB, free: 4.738 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001806/0.6565, allocations: 0.61 MB / 0.8242 GB, free: 4.125 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01/0.6665, allocations: 3.989 MB / 0.8281 GB, free: 124 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002787/0.6693, allocations: 0.9546 MB / 0.8291 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00567/0.675, allocations: 5.376 MB / 0.8343 GB, free: 9.781 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001858/0.6768, allocations: 1.276 MB / 0.8356 GB, free: 8.477 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002912/0.6798, allocations: 1.397 MB / 0.8369 GB, free: 7.074 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003164/0.6829, allocations: 1.543 MB / 0.8384 GB, free: 5.531 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001885/0.6831, allocations: 72 kB / 0.8385 GB, free: 5.461 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003948/0.6871, allocations: 2.084 MB / 0.8405 GB, free: 3.371 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0007045/0.6878, allocations: 0.6427 MB / 0.8412 GB, free: 2.727 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001023/0.6889, allocations: 0.8723 MB / 0.842 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003444/0.6923, allocations: 3.014 MB / 0.845 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.6923, allocations: 0 / 0.845 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6923, allocations: 0 / 0.845 GB, free: 14.82 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.967e-05/0.6924, allocations: 0 / 0.845 GB, free: 14.82 MB / 0.67 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.002746/0.6951, allocations: 1.71 MB / 0.8466 GB, free: 13.06 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.6952, allocations: 8.031 kB / 0.8466 GB, free: 13.05 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002174/0.6973, allocations: 401.6 kB / 0.847 GB, free: 12.66 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001743/0.6991, allocations: 1.104 MB / 0.8481 GB, free: 11.49 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.737e-05/0.6992, allocations: 94.56 kB / 0.8482 GB, free: 11.4 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001972/0.6994, allocations: 136 kB / 0.8483 GB, free: 11.27 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002396/0.7018, allocations: 1.595 MB / 0.8499 GB, free: 9.598 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.158e-05/0.7018, allocations: 3.938 kB / 0.8499 GB, free: 9.594 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/0.702, allocations: 56 kB / 0.8499 GB, free: 9.539 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.566e-05/0.702, allocations: 46.45 kB / 0.85 GB, free: 9.492 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001999/0.704, allocations: 1.298 MB / 0.8512 GB, free: 8.188 MB / 0.67 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.007175/0.7112, allocations: 6.485 MB / 0.8576 GB, free: 1.281 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.7127, allocations: 0.9523 MB / 0.8585 GB, free: 328 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3803/1.093, allocations: 476.9 kB / 0.859 GB, free: 28.76 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008567/1.094, allocations: 419.1 kB / 0.8594 GB, free: 28.39 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.45e-05/1.094, allocations: 46.34 kB / 0.8594 GB, free: 28.35 MB / 0.67 GB Notification: Performance of pre-optimization done (n=82): time 3.627e-06/1.094, allocations: 0.75 kB / 0.8594 GB, free: 28.35 MB / 0.67 GB Notification: Performance of matching and sorting (n=84): time 0.005555/1.1, allocations: 2.949 MB / 0.8623 GB, free: 27.63 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/1.1, allocations: 64.2 kB / 0.8623 GB, free: 27.57 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/1.101, allocations: 1.197 MB / 0.8635 GB, free: 27.4 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.234e-05/1.101, allocations: 43.14 kB / 0.8636 GB, free: 27.37 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003941/1.101, allocations: 0.6744 MB / 0.8642 GB, free: 27.11 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002279/1.102, allocations: 303.3 kB / 0.8645 GB, free: 26.92 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/1.102, allocations: 86.38 kB / 0.8646 GB, free: 26.91 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 7.829e-05/1.102, allocations: 349.7 kB / 0.8649 GB, free: 26.6 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005237/1.102, allocations: 377.7 kB / 0.8653 GB, free: 26.6 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007248/1.103, allocations: 0.7169 MB / 0.866 GB, free: 26.23 MB / 0.67 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.01185/1.115, allocations: 3.209 MB / 0.8691 GB, free: 25.79 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/1.115, allocations: 1.906 kB / 0.8691 GB, free: 25.79 MB / 0.67 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001913/1.117, allocations: 1.302 MB / 0.8704 GB, free: 25.64 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/1.117, allocations: 9.406 kB / 0.8704 GB, free: 25.64 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/1.117, allocations: 11.69 kB / 0.8704 GB, free: 25.64 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002563/1.117, allocations: 131.1 kB / 0.8705 GB, free: 25.61 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007228/1.118, allocations: 206 kB / 0.8707 GB, free: 25.61 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003007/1.121, allocations: 4.829 MB / 0.8754 GB, free: 21.62 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/1.122, allocations: 108.5 kB / 0.8755 GB, free: 21.61 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.57e-05/1.122, allocations: 47.88 kB / 0.8756 GB, free: 21.61 MB / 0.67 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.0007129/1.123, allocations: 435.6 kB / 0.876 GB, free: 21.48 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/1.123, allocations: 140.8 kB / 0.8761 GB, free: 21.41 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001561/1.125, allocations: 1.099 MB / 0.8772 GB, free: 21.33 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/1.125, allocations: 9.031 kB / 0.8772 GB, free: 21.33 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/1.125, allocations: 2.344 kB / 0.8772 GB, free: 21.33 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001161/1.126, allocations: 1.058 MB / 0.8783 GB, free: 21.05 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004669/1.131, allocations: 3.124 MB / 0.8813 GB, free: 20.18 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/1.131, allocations: 9.328 kB / 0.8813 GB, free: 20.18 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006783/1.131, allocations: 155.7 kB / 0.8815 GB, free: 20.18 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002345/1.132, allocations: 128.7 kB / 0.8816 GB, free: 20.15 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-05/1.132, allocations: 29.2 kB / 0.8816 GB, free: 20.15 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003164/1.135, allocations: 4.821 MB / 0.8863 GB, free: 16.15 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.566e-05/1.135, allocations: 10.72 kB / 0.8863 GB, free: 16.15 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003143/1.138, allocations: 1.743 MB / 0.888 GB, free: 15.68 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009251/1.139, allocations: 311.9 kB / 0.8883 GB, free: 15.52 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002098/1.139, allocations: 29.73 kB / 0.8884 GB, free: 15.51 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/1.14, allocations: 75.8 kB / 0.8884 GB, free: 15.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/1.141, allocations: 81.06 kB / 0.8885 GB, free: 15.49 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.336e-05/1.141, allocations: 37.45 kB / 0.8885 GB, free: 15.49 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00132/1.142, allocations: 0.843 MB / 0.8894 GB, free: 15.38 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/1.142, allocations: 0 / 0.8894 GB, free: 15.38 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001801/1.144, allocations: 405.5 kB / 0.8898 GB, free: 15.38 MB / 0.67 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.0005433/1.144, allocations: 245.8 kB / 0.89 GB, free: 15.28 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001838/1.146, allocations: 1.28 MB / 0.8912 GB, free: 14.93 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.146, allocations: 1.312 kB / 0.8912 GB, free: 14.93 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000848/1.147, allocations: 0.7841 MB / 0.892 GB, free: 14.59 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004923/1.152, allocations: 0.8584 MB / 0.8928 GB, free: 14.54 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004571/1.157, allocations: 3.465 MB / 0.8962 GB, free: 12.77 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009303/1.158, allocations: 1.356 MB / 0.8976 GB, free: 12.04 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001524/1.159, allocations: 349.1 kB / 0.8979 GB, free: 11.98 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003202/1.159, allocations: 114.1 kB / 0.898 GB, free: 11.97 MB / 0.67 GB Notification: Performance of SimCode: time 1.092e-06/1.159, allocations: 3.562 kB / 0.898 GB, free: 11.97 MB / 0.67 GB Notification: Performance of Templates: time 0.04595/1.205, allocations: 30.35 MB / 0.9276 GB, free: 3.867 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.pipe 2>&1)