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: "" <> 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.008714/0.008714, allocations: 98.95 kB / 15.73 MB, free: 6.055 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.002394/0.002394, allocations: 199.2 kB / 16.68 MB, free: 5.977 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.01/1.01, allocations: 143.3 MB / 433.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 63.91 kB / 0.5953 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3982/0.4001, allocations: 82.02 MB / 0.6754 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM): time 0.6169/1.017, allocations: 214.8 MB / 0.8852 GB, free: 1.848 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02341/1.04, allocations: 21.39 MB / 0.9061 GB, free: 1.664 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002147/1.043, allocations: 52.34 kB / 0.9061 GB, free: 1.664 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002116/1.045, allocations: 0.7368 MB / 0.9068 GB, free: 1.656 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01017/1.055, allocations: 4.25 MB / 0.911 GB, free: 1.484 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002637/1.058, allocations: 1.078 MB / 0.912 GB, free: 1.453 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004353/1.062, allocations: 3.915 MB / 0.9159 GB, free: 1.445 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001909/1.064, allocations: 1.575 MB / 0.9174 GB, free: 1.273 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002855/1.067, allocations: 1.625 MB / 0.919 GB, free: 1.273 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002985/1.07, allocations: 1.539 MB / 0.9205 GB, free: 1.273 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002743/1.07, allocations: 163.9 kB / 0.9206 GB, free: 1.273 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003758/1.074, allocations: 1.83 MB / 0.9224 GB, free: 1.254 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007781/1.075, allocations: 0.7392 MB / 0.9232 GB, free: 1.246 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001278/1.076, allocations: 0.9533 MB / 0.9241 GB, free: 1.008 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004367/1.08, allocations: 3.053 MB / 0.9271 GB, free: 0.6211 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/1.08, allocations: 0 / 0.9271 GB, free: 0.6211 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.362e-06/1.08, allocations: 0 / 0.9271 GB, free: 0.6211 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.725e-05/1.08, allocations: 0.9375 kB / 0.9271 GB, free: 0.6211 MB / 0.6856 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.002968/1.083, allocations: 2.098 MB / 0.9291 GB, free: 15.57 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/1.083, allocations: 11.09 kB / 0.9291 GB, free: 15.57 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002466/1.084, allocations: 196.4 kB / 0.9293 GB, free: 15.53 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00212/1.086, allocations: 417.4 kB / 0.9297 GB, free: 15.42 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001988/1.088, allocations: 1.165 MB / 0.9309 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.987e-05/1.088, allocations: 98.62 kB / 0.9309 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001605/1.088, allocations: 135.8 kB / 0.9311 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002177/1.09, allocations: 1.583 MB / 0.9326 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.043e-05/1.09, allocations: 4.594 kB / 0.9326 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/1.09, allocations: 56.48 kB / 0.9327 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.837e-05/1.09, allocations: 55.05 kB / 0.9327 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001724/1.092, allocations: 1.298 MB / 0.934 GB, free: 14.78 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.00719/1.099, allocations: 6.497 MB / 0.9403 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/1.101, allocations: 0.9406 MB / 0.9413 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005484/1.101, allocations: 478 kB / 0.9417 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007058/1.102, allocations: 413 kB / 0.9421 GB, free: 11.06 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.596e-05/1.102, allocations: 47.91 kB / 0.9422 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 2.675e-06/1.102, allocations: 1 kB / 0.9422 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84): time 0.004938/1.107, allocations: 2.968 MB / 0.9451 GB, free: 10.1 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/1.107, allocations: 60.41 kB / 0.9451 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/1.108, allocations: 1.2 MB / 0.9463 GB, free: 9.867 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.116e-05/1.108, allocations: 46.11 kB / 0.9463 GB, free: 9.832 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004999/1.109, allocations: 0.6908 MB / 0.947 GB, free: 9.562 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002814/1.109, allocations: 316.9 kB / 0.9473 GB, free: 9.359 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002838/1.11, allocations: 195.1 kB / 0.9475 GB, free: 9.336 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000162/1.11, allocations: 345.4 kB / 0.9478 GB, free: 9.031 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005387/1.11, allocations: 378.8 kB / 0.9482 GB, free: 9.031 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008724/1.111, allocations: 0.7232 MB / 0.9489 GB, free: 8.641 MB / 0.7012 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.01068/1.122, allocations: 2.929 MB / 0.9518 GB, free: 7.961 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/1.122, allocations: 2.781 kB / 0.9518 GB, free: 7.961 MB / 0.7012 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00201/1.124, allocations: 1.308 MB / 0.953 GB, free: 7.34 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/1.124, allocations: 12.05 kB / 0.953 GB, free: 7.336 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/1.124, allocations: 7.062 kB / 0.953 GB, free: 7.336 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002798/1.124, allocations: 131.9 kB / 0.9532 GB, free: 7.27 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006991/1.125, allocations: 200.3 kB / 0.9534 GB, free: 7.246 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004697/1.13, allocations: 5.379 MB / 0.9586 GB, free: 2.094 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/1.131, allocations: 54.09 kB / 0.9587 GB, free: 2.062 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-05/1.131, allocations: 58.86 kB / 0.9587 GB, free: 2.039 MB / 0.7012 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.0007168/1.132, allocations: 418.6 kB / 0.9591 GB, free: 1.762 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002049/1.132, allocations: 145 kB / 0.9593 GB, free: 1.688 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001733/1.134, allocations: 1.113 MB / 0.9604 GB, free: 1.055 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/1.134, allocations: 8.031 kB / 0.9604 GB, free: 1.055 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/1.134, allocations: 0 / 0.9604 GB, free: 1.055 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001348/1.135, allocations: 1.051 MB / 0.9614 GB, free: 400 kB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004938/1.14, allocations: 3.086 MB / 0.9644 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.854e-06/1.14, allocations: 9.781 kB / 0.9644 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006483/1.141, allocations: 156 kB / 0.9646 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002584/1.141, allocations: 124.8 kB / 0.9647 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.618e-05/1.141, allocations: 30.36 kB / 0.9647 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004738/1.146, allocations: 5.371 MB / 0.9699 GB, free: 8.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/1.146, allocations: 11.09 kB / 0.97 GB, free: 8.836 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002632/1.148, allocations: 1.741 MB / 0.9717 GB, free: 7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006843/1.149, allocations: 327.2 kB / 0.972 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002951/1.149, allocations: 31.92 kB / 0.972 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007936/1.15, allocations: 29.2 kB / 0.972 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/1.15, allocations: 71.59 kB / 0.9721 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.384e-05/1.15, allocations: 32 kB / 0.9721 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001279/1.152, allocations: 0.85 MB / 0.973 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/1.152, allocations: 0 / 0.973 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001536/1.153, allocations: 407.9 kB / 0.9733 GB, free: 5.258 MB / 0.7169 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.003297/1.156, allocations: 2.435 MB / 0.9757 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002188/1.159, allocations: 1.296 MB / 0.977 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/1.159, allocations: 4.125 kB / 0.977 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001042/1.16, allocations: 0.7908 MB / 0.9778 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003998/1.164, allocations: 0.9013 MB / 0.9786 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01686/1.181, allocations: 11.28 MB / 0.9897 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001132/1.182, allocations: 1.362 MB / 0.991 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001284/1.183, allocations: 348.6 kB / 0.9913 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000765/1.184, allocations: 0.55 MB / 0.9919 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of SimCode: time 1.263e-06/1.184, allocations: 4 kB / 0.9919 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09989/1.284, allocations: 43.7 MB / 1.035 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.43/15.71, allocations: 15.89 kB / 1.035 GB, free: 6.777 MB / 0.7794 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_PPM.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.pipe 2>&1)