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.005478/0.005478, allocations: 95.23 kB / 15.73 MB, free: 6.047 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.00117/0.00117, allocations: 205.8 kB / 16.68 MB, free: 5.973 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.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.9466/0.9466, allocations: 143 MB / 433.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 67.91 kB / 0.5951 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.3969, allocations: 82.04 MB / 0.6752 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM): time 0.6055/1.002, allocations: 214.8 MB / 0.8849 GB, free: 1.852 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0216/1.024, allocations: 21.39 MB / 0.9058 GB, free: 1.668 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0018/1.026, allocations: 52.97 kB / 0.9059 GB, free: 1.668 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00184/1.028, allocations: 0.757 MB / 0.9066 GB, free: 1.66 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.009571/1.037, allocations: 4.403 MB / 0.9109 GB, free: 1.488 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002486/1.04, allocations: 1.071 MB / 0.912 GB, free: 1.469 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004038/1.044, allocations: 3.928 MB / 0.9158 GB, free: 1.461 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001824/1.046, allocations: 1.574 MB / 0.9173 GB, free: 1.289 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002828/1.049, allocations: 1.684 MB / 0.919 GB, free: 1.285 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002855/1.052, allocations: 1.566 MB / 0.9205 GB, free: 1.273 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003177/1.052, allocations: 162.2 kB / 0.9207 GB, free: 1.273 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003448/1.055, allocations: 1.839 MB / 0.9225 GB, free: 1.254 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007283/1.056, allocations: 0.7444 MB / 0.9232 GB, free: 1.242 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001199/1.057, allocations: 0.9568 MB / 0.9241 GB, free: 1.008 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003895/1.061, allocations: 3.051 MB / 0.9271 GB, free: 0.625 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/1.061, allocations: 0.8125 kB / 0.9271 GB, free: 0.625 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.543e-06/1.061, allocations: 3.094 kB / 0.9271 GB, free: 0.625 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.512e-05/1.061, allocations: 0.8125 kB / 0.9271 GB, free: 0.625 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.003059/1.064, allocations: 2.089 MB / 0.9291 GB, free: 15.57 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/1.064, allocations: 11.59 kB / 0.9291 GB, free: 15.57 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002414/1.065, allocations: 200.2 kB / 0.9293 GB, free: 15.53 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002187/1.067, allocations: 415.2 kB / 0.9297 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002113/1.069, allocations: 1.161 MB / 0.9309 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.863e-05/1.069, allocations: 98.88 kB / 0.931 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000183/1.069, allocations: 136.5 kB / 0.9311 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00215/1.071, allocations: 1.589 MB / 0.9326 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.068e-05/1.071, allocations: 3.094 kB / 0.9326 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/1.071, allocations: 54.78 kB / 0.9327 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.876e-05/1.072, allocations: 55.33 kB / 0.9328 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001708/1.073, allocations: 1.297 MB / 0.934 GB, free: 14.79 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.007208/1.08, allocations: 6.495 MB / 0.9404 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/1.082, allocations: 0.9433 MB / 0.9413 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005277/1.082, allocations: 478 kB / 0.9417 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006871/1.083, allocations: 414.4 kB / 0.9421 GB, free: 11.06 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/1.083, allocations: 46.72 kB / 0.9422 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 2.715e-06/1.083, allocations: 1.375 kB / 0.9422 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84): time 0.004747/1.088, allocations: 2.969 MB / 0.9451 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/1.088, allocations: 61.19 kB / 0.9451 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/1.089, allocations: 1.199 MB / 0.9463 GB, free: 9.871 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.203e-05/1.089, allocations: 43.61 kB / 0.9464 GB, free: 9.84 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004427/1.09, allocations: 0.6921 MB / 0.947 GB, free: 9.566 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002524/1.09, allocations: 318.4 kB / 0.9473 GB, free: 9.363 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002734/1.09, allocations: 194.5 kB / 0.9475 GB, free: 9.344 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001156/1.09, allocations: 343.6 kB / 0.9478 GB, free: 9.039 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005191/1.091, allocations: 374.8 kB / 0.9482 GB, free: 9.039 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007579/1.092, allocations: 0.7239 MB / 0.9489 GB, free: 8.645 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.01096/1.103, allocations: 2.933 MB / 0.9518 GB, free: 7.887 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/1.103, allocations: 0 / 0.9518 GB, free: 7.887 MB / 0.7012 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001973/1.105, allocations: 1.307 MB / 0.953 GB, free: 7.266 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/1.105, allocations: 14.28 kB / 0.9531 GB, free: 7.266 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/1.105, allocations: 7.875 kB / 0.9531 GB, free: 7.266 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002515/1.105, allocations: 130 kB / 0.9532 GB, free: 7.199 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007273/1.106, allocations: 204.1 kB / 0.9534 GB, free: 7.168 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004018/1.11, allocations: 5.382 MB / 0.9586 GB, free: 2.012 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/1.111, allocations: 53.72 kB / 0.9587 GB, free: 1.98 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.268e-05/1.111, allocations: 49.52 kB / 0.9587 GB, free: 1.969 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.0006597/1.112, allocations: 421.2 kB / 0.9591 GB, free: 1.688 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/1.112, allocations: 149.9 kB / 0.9593 GB, free: 1.613 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001589/1.114, allocations: 1.096 MB / 0.9604 GB, free: 0.9922 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/1.114, allocations: 17.69 kB / 0.9604 GB, free: 0.9883 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/1.114, allocations: 0 / 0.9604 GB, free: 0.9883 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001241/1.115, allocations: 1.056 MB / 0.9614 GB, free: 324 kB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004866/1.12, allocations: 3.082 MB / 0.9644 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/1.12, allocations: 9.734 kB / 0.9644 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006807/1.12, allocations: 160.4 kB / 0.9646 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002415/1.121, allocations: 128 kB / 0.9647 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-05/1.121, allocations: 29.12 kB / 0.9647 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004044/1.125, allocations: 5.368 MB / 0.97 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/1.125, allocations: 11.09 kB / 0.97 GB, free: 8.699 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002336/1.127, allocations: 1.75 MB / 0.9717 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006474/1.128, allocations: 316.1 kB / 0.972 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/1.128, allocations: 31.92 kB / 0.972 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007727/1.129, allocations: 27.98 kB / 0.972 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/1.129, allocations: 75.52 kB / 0.9721 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.685e-05/1.129, allocations: 31.98 kB / 0.9721 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001106/1.13, allocations: 0.8492 MB / 0.973 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/1.13, allocations: 0 / 0.973 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001427/1.132, allocations: 411.9 kB / 0.9734 GB, free: 5.121 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.002771/1.134, allocations: 2.425 MB / 0.9757 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001774/1.136, allocations: 1.293 MB / 0.977 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/1.136, allocations: 0 / 0.977 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008545/1.137, allocations: 0.7975 MB / 0.9778 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003622/1.141, allocations: 0.9022 MB / 0.9787 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0144/1.155, allocations: 11.28 MB / 0.9897 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009018/1.156, allocations: 1.363 MB / 0.991 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001138/1.157, allocations: 352.6 kB / 0.9913 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006801/1.158, allocations: 0.5462 MB / 0.9919 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of SimCode: time 9.52e-07/1.158, allocations: 4 kB / 0.9919 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07889/1.237, allocations: 43.69 MB / 1.035 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.48/14.72, allocations: 11.91 kB / 1.035 GB, free: 6.598 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)