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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005772/0.005772, allocations: 100.6 kB / 15.73 MB, free: 5.609 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.001266/0.001266, allocations: 195.5 kB / 16.67 MB, free: 5.535 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.262/1.262, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.88/0.88, allocations: 143.1 MB / 433.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 63.75 kB / 0.5951 GB, free: 12.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1544, allocations: 82.04 MB / 0.6752 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM): time 0.6011/0.7556, allocations: 214.8 MB / 0.8849 GB, free: 7.176 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02468/0.7803, allocations: 21.39 MB / 0.9058 GB, free: 1.719 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002011/0.7824, allocations: 47.75 kB / 0.9059 GB, free: 1.672 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002384/0.7849, allocations: 0.7453 MB / 0.9066 GB, free: 0.9219 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01082/0.7957, allocations: 4.239 MB / 0.9108 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003224/0.7989, allocations: 1.07 MB / 0.9118 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.006126/0.8051, allocations: 3.914 MB / 0.9156 GB, free: 7.676 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003333/0.8084, allocations: 1.572 MB / 0.9172 GB, free: 6.078 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003806/0.8123, allocations: 1.623 MB / 0.9187 GB, free: 4.449 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003458/0.8158, allocations: 1.547 MB / 0.9203 GB, free: 2.906 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004831/0.8163, allocations: 164 kB / 0.9204 GB, free: 2.746 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003951/0.8202, allocations: 1.828 MB / 0.9222 GB, free: 0.9141 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0009618/0.8212, allocations: 0.7442 MB / 0.9229 GB, free: 172 kB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001639/0.8228, allocations: 0.9527 MB / 0.9238 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004303/0.8272, allocations: 3.042 MB / 0.9268 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.8272, allocations: 0 / 0.9268 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8272, allocations: 0 / 0.9268 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 8.173e-05/0.8273, allocations: 0 / 0.9268 GB, free: 12.16 MB / 0.7012 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.003772/0.8311, allocations: 2.037 MB / 0.9288 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.8311, allocations: 11.97 kB / 0.9288 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002499/0.8314, allocations: 198.1 kB / 0.929 GB, free: 9.852 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002231/0.8336, allocations: 397.6 kB / 0.9294 GB, free: 9.461 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002348/0.836, allocations: 1.159 MB / 0.9305 GB, free: 8.242 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.772e-05/0.836, allocations: 98.56 kB / 0.9306 GB, free: 8.145 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002514/0.8363, allocations: 135.9 kB / 0.9307 GB, free: 8.012 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002469/0.8388, allocations: 1.6 MB / 0.9323 GB, free: 6.34 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.939e-05/0.8388, allocations: 0 / 0.9323 GB, free: 6.34 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/0.8389, allocations: 56 kB / 0.9324 GB, free: 6.285 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.046e-05/0.839, allocations: 50.39 kB / 0.9324 GB, free: 6.234 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00208/0.8411, allocations: 1.294 MB / 0.9337 GB, free: 4.934 MB / 0.7012 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.008396/0.8495, allocations: 6.481 MB / 0.94 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.851, allocations: 0.9383 MB / 0.9409 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006788/0.8517, allocations: 485 kB / 0.9414 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007316/0.8524, allocations: 412.9 kB / 0.9418 GB, free: 12.13 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.8525, allocations: 51.2 kB / 0.9418 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=82): time 2.565e-06/0.8525, allocations: 0 / 0.9418 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=84): time 0.005495/0.858, allocations: 2.94 MB / 0.9447 GB, free: 9.016 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.858, allocations: 60.41 kB / 0.9448 GB, free: 8.941 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001643/0.8597, allocations: 1.197 MB / 0.9459 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.651e-05/0.8598, allocations: 45.7 kB / 0.946 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005325/0.8603, allocations: 0.6799 MB / 0.9466 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002841/0.8606, allocations: 299.7 kB / 0.9469 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002878/0.8609, allocations: 194.5 kB / 0.9471 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.8611, allocations: 357.9 kB / 0.9474 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005901/0.8617, allocations: 377.7 kB / 0.9478 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008656/0.8626, allocations: 0.7229 MB / 0.9485 GB, free: 4.902 MB / 0.7169 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.0117/0.8743, allocations: 2.916 MB / 0.9514 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.8743, allocations: 4 kB / 0.9514 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002531/0.8768, allocations: 1.296 MB / 0.9526 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.085e-05/0.8769, allocations: 8 kB / 0.9526 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/0.8769, allocations: 8.719 kB / 0.9526 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003413/0.8773, allocations: 134.5 kB / 0.9528 GB, free: 388 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008288/0.8781, allocations: 211.6 kB / 0.953 GB, free: 176 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004739/0.8829, allocations: 5.369 MB / 0.9582 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.8842, allocations: 43.89 kB / 0.9583 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.8843, allocations: 47.98 kB / 0.9583 GB, free: 10.3 MB / 0.7325 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.0007784/0.8851, allocations: 438.2 kB / 0.9587 GB, free: 9.859 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003329/0.8854, allocations: 142.3 kB / 0.9589 GB, free: 9.719 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001846/0.8873, allocations: 1.096 MB / 0.9599 GB, free: 8.605 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/0.8873, allocations: 8 kB / 0.9599 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.8873, allocations: 0 / 0.9599 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001314/0.8886, allocations: 1.058 MB / 0.961 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005635/0.8943, allocations: 3.078 MB / 0.964 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.526e-05/0.8943, allocations: 11.98 kB / 0.964 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007386/0.8951, allocations: 147.8 kB / 0.9641 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002459/0.8953, allocations: 139.1 kB / 0.9643 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.188e-05/0.8954, allocations: 24 kB / 0.9643 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004327/0.8997, allocations: 5.371 MB / 0.9695 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.203e-06/0.8998, allocations: 12.06 kB / 0.9695 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002563/0.9023, allocations: 1.746 MB / 0.9712 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007923/0.9031, allocations: 311.3 kB / 0.9715 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000291/0.9034, allocations: 23.98 kB / 0.9716 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009454/0.9044, allocations: 27.98 kB / 0.9716 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.9045, allocations: 76.44 kB / 0.9717 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.406e-05/0.9047, allocations: 47.91 kB / 0.9717 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001307/0.906, allocations: 0.8461 MB / 0.9725 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.9e-07/0.906, allocations: 0 / 0.9725 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001562/0.9075, allocations: 400 kB / 0.9729 GB, free: 10.49 MB / 0.7481 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.003023/0.9106, allocations: 2.421 MB / 0.9753 GB, free: 7.973 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00199/0.9126, allocations: 1.296 MB / 0.9765 GB, free: 6.637 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/0.9126, allocations: 4 kB / 0.9765 GB, free: 6.633 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009418/0.9135, allocations: 0.7861 MB / 0.9773 GB, free: 5.809 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003925/0.9175, allocations: 0.9011 MB / 0.9782 GB, free: 4.922 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01574/0.9332, allocations: 11.22 MB / 0.9892 GB, free: 9.18 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/0.9344, allocations: 1.367 MB / 0.9905 GB, free: 7.785 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001306/0.9358, allocations: 352.6 kB / 0.9908 GB, free: 7.434 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007571/0.9365, allocations: 0.554 MB / 0.9914 GB, free: 6.879 MB / 0.7637 GB Notification: Performance of SimCode: time 8.92e-07/0.9366, allocations: 0 / 0.9914 GB, free: 6.879 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09455/1.031, allocations: 43.35 MB / 1.034 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.76/14.79, allocations: 14.05 kB / 1.034 GB, free: 12.1 MB / 0.8106 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_PPM.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.pipe 2>&1)