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.0008814/0.0008814, allocations: 89.89 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.005868/0.005868, allocations: 171.3 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.318/1.318, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.9418/0.9418, allocations: 143.2 MB / 434.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002954/0.0002954, allocations: 12 kB / 0.5165 GB, free: 11.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1673, allocations: 83.4 MB / 0.598 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM): time 0.456/0.6233, allocations: 209.7 MB / 0.8027 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02287/0.6462, allocations: 21.25 MB / 0.8235 GB, free: 5.105 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.6474, allocations: 43.69 kB / 0.8235 GB, free: 5.062 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001529/0.649, allocations: 0.6178 MB / 0.8241 GB, free: 4.441 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008159/0.6572, allocations: 3.989 MB / 0.828 GB, free: 448 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002159/0.6593, allocations: 0.9632 MB / 0.8289 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005066/0.6644, allocations: 5.37 MB / 0.8342 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001644/0.6661, allocations: 1.291 MB / 0.8354 GB, free: 8.777 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002422/0.6685, allocations: 1.385 MB / 0.8368 GB, free: 7.387 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00327/0.6718, allocations: 1.541 MB / 0.8383 GB, free: 5.848 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002606/0.6721, allocations: 68 kB / 0.8384 GB, free: 5.781 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004025/0.6761, allocations: 2.084 MB / 0.8404 GB, free: 3.691 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0007405/0.6768, allocations: 0.6427 MB / 0.841 GB, free: 3.047 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001289/0.6781, allocations: 0.8646 MB / 0.8419 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004464/0.6826, allocations: 3.018 MB / 0.8448 GB, free: 15.14 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 9.749e-06/0.6826, allocations: 4 kB / 0.8448 GB, free: 15.14 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.204e-06/0.6827, allocations: 0 / 0.8448 GB, free: 15.14 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.479e-05/0.6827, allocations: 0 / 0.8448 GB, free: 15.14 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.003232/0.686, allocations: 1.714 MB / 0.8465 GB, free: 13.38 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.686, allocations: 8.031 kB / 0.8465 GB, free: 13.37 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002825/0.6863, allocations: 202.1 kB / 0.8467 GB, free: 13.16 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002228/0.6885, allocations: 401.5 kB / 0.8471 GB, free: 12.77 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001959/0.6905, allocations: 1.097 MB / 0.8482 GB, free: 11.61 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.6906, allocations: 98.56 kB / 0.8482 GB, free: 11.51 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002376/0.6909, allocations: 135.9 kB / 0.8484 GB, free: 11.38 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00261/0.6935, allocations: 1.59 MB / 0.8499 GB, free: 9.715 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.548e-05/0.6936, allocations: 3.938 kB / 0.8499 GB, free: 9.711 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.6937, allocations: 59.98 kB / 0.85 GB, free: 9.652 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.447e-05/0.6938, allocations: 50.44 kB / 0.85 GB, free: 9.602 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002115/0.6959, allocations: 1.294 MB / 0.8513 GB, free: 8.301 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.007807/0.7037, allocations: 6.489 MB / 0.8576 GB, free: 1.391 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/0.7051, allocations: 0.9445 MB / 0.8586 GB, free: 444 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3342/1.039, allocations: 482 kB / 0.859 GB, free: 29.28 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006852/1.04, allocations: 426.8 kB / 0.8594 GB, free: 28.9 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/1.04, allocations: 42.56 kB / 0.8595 GB, free: 28.86 MB / 0.67 GB Notification: Performance of pre-optimization done (n=82): time 2.525e-06/1.04, allocations: 0.8125 kB / 0.8595 GB, free: 28.86 MB / 0.67 GB Notification: Performance of matching and sorting (n=84): time 0.004736/1.045, allocations: 2.942 MB / 0.8623 GB, free: 28.15 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/1.045, allocations: 62.2 kB / 0.8624 GB, free: 28.09 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/1.046, allocations: 1.202 MB / 0.8636 GB, free: 27.92 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.955e-05/1.046, allocations: 42.8 kB / 0.8636 GB, free: 27.89 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003484/1.046, allocations: 0.6768 MB / 0.8643 GB, free: 27.63 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001808/1.047, allocations: 301.3 kB / 0.8646 GB, free: 27.44 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-05/1.047, allocations: 88.88 kB / 0.8646 GB, free: 27.43 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.963e-05/1.047, allocations: 350.7 kB / 0.865 GB, free: 27.12 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004945/1.047, allocations: 376.7 kB / 0.8653 GB, free: 27.12 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006687/1.048, allocations: 0.7159 MB / 0.866 GB, free: 26.75 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.01123/1.059, allocations: 3.205 MB / 0.8692 GB, free: 26.3 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/1.059, allocations: 2.344 kB / 0.8692 GB, free: 26.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001696/1.061, allocations: 1.3 MB / 0.8704 GB, free: 26.15 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/1.061, allocations: 7.812 kB / 0.8705 GB, free: 26.15 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/1.061, allocations: 11.25 kB / 0.8705 GB, free: 26.15 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002425/1.061, allocations: 134.7 kB / 0.8706 GB, free: 26.13 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007048/1.062, allocations: 206.1 kB / 0.8708 GB, free: 26.13 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00273/1.065, allocations: 4.834 MB / 0.8755 GB, free: 22.14 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/1.066, allocations: 108.3 kB / 0.8756 GB, free: 22.12 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.985e-05/1.066, allocations: 47.62 kB / 0.8757 GB, free: 22.12 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.0005688/1.067, allocations: 430.3 kB / 0.8761 GB, free: 22 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/1.067, allocations: 140.4 kB / 0.8762 GB, free: 21.93 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001516/1.068, allocations: 1.099 MB / 0.8773 GB, free: 21.85 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/1.068, allocations: 10.62 kB / 0.8773 GB, free: 21.84 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/1.068, allocations: 0 / 0.8773 GB, free: 21.84 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001129/1.069, allocations: 1.055 MB / 0.8783 GB, free: 21.57 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004232/1.074, allocations: 3.129 MB / 0.8814 GB, free: 20.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/1.074, allocations: 10.27 kB / 0.8814 GB, free: 20.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006434/1.074, allocations: 162.6 kB / 0.8815 GB, free: 20.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002134/1.075, allocations: 123.3 kB / 0.8817 GB, free: 20.67 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.683e-05/1.075, allocations: 28.3 kB / 0.8817 GB, free: 20.67 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0027/1.077, allocations: 4.821 MB / 0.8864 GB, free: 16.67 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/1.077, allocations: 8.75 kB / 0.8864 GB, free: 16.67 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002048/1.079, allocations: 1.746 MB / 0.8881 GB, free: 16.2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004405/1.08, allocations: 316.1 kB / 0.8884 GB, free: 16.04 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/1.08, allocations: 24.66 kB / 0.8884 GB, free: 16.04 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008539/1.081, allocations: 76.06 kB / 0.8885 GB, free: 16.02 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/1.081, allocations: 75.55 kB / 0.8886 GB, free: 16.02 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.668e-05/1.081, allocations: 35.16 kB / 0.8886 GB, free: 16.02 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00106/1.082, allocations: 0.8491 MB / 0.8894 GB, free: 15.91 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.51e-07/1.082, allocations: 0 / 0.8894 GB, free: 15.91 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001423/1.084, allocations: 409 kB / 0.8898 GB, free: 15.91 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.002535/1.086, allocations: 2.424 MB / 0.8922 GB, free: 14.89 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001639/1.088, allocations: 1.282 MB / 0.8934 GB, free: 14.53 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/1.088, allocations: 0.8125 kB / 0.8934 GB, free: 14.53 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007892/1.089, allocations: 0.7838 MB / 0.8942 GB, free: 14.19 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004495/1.093, allocations: 0.8466 MB / 0.895 GB, free: 14.15 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01485/1.108, allocations: 12.71 MB / 0.9074 GB, free: 8.809 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009107/1.109, allocations: 1.358 MB / 0.9088 GB, free: 8.078 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001482/1.11, allocations: 355.3 kB / 0.9091 GB, free: 8.02 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006183/1.111, allocations: 0.5538 MB / 0.9097 GB, free: 8.012 MB / 0.67 GB Notification: Performance of SimCode: time 6.51e-07/1.111, allocations: 0 / 0.9097 GB, free: 8.012 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05625/1.167, allocations: 41.56 MB / 0.9502 GB, free: 2.875 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001947/1.167, allocations: 261.6 kB / 0.9505 GB, free: 2.52 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.637/3.804, allocations: 4 kB / 0.9505 GB, free: 2.516 MB / 0.6856 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)