Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.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.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX",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.00184/0.00184, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002392/0.002392, allocations: 197.9 kB / 16.53 MB, free: 6.672 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.377/1.377, allocations: 222.9 MB / 240.2 MB, free: 4.414 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 1.003/1.003, allocations: 143.1 MB / 433.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 63.89 kB / 0.5143 GB, free: 11.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.176, allocations: 82.04 MB / 0.5944 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003274/0.1794, allocations: 1.493 MB / 0.5958 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4276/0.607, allocations: 132.1 MB / 0.7248 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.661e-05/0.6071, allocations: 1.094 kB / 0.7248 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.493e-05/0.6072, allocations: 5.25 kB / 0.7248 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.232e-05/0.6073, allocations: 15.8 kB / 0.7248 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003641/0.6076, allocations: 61.89 kB / 0.7249 GB, free: 476 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.94e-05/0.6077, allocations: 55.66 kB / 0.7249 GB, free: 448 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.718e-05/0.6078, allocations: 18.08 kB / 0.725 GB, free: 440 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.326e-05/0.6079, allocations: 17.83 kB / 0.725 GB, free: 432 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.834e-05/0.608, allocations: 33.67 kB / 0.725 GB, free: 412 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.608, allocations: 4.469 kB / 0.725 GB, free: 412 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.462e-05/0.6081, allocations: 17.94 kB / 0.725 GB, free: 408 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.753e-05/0.6081, allocations: 7.172 kB / 0.725 GB, free: 404 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.751e-05/0.6081, allocations: 23.95 kB / 0.7251 GB, free: 388 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.6083, allocations: 56.08 kB / 0.7251 GB, free: 368 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.6083, allocations: 4 kB / 0.7251 GB, free: 364 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6083, allocations: 1.406 kB / 0.7251 GB, free: 364 kB / 0.545 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.6083, allocations: 0 / 0.7251 GB, free: 364 kB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005015/0.6088, allocations: 374.8 kB / 0.7255 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.6089, allocations: 10.66 kB / 0.7255 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.402e-05/0.6089, allocations: 36.69 kB / 0.7255 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.909e-05/0.6089, allocations: 8 kB / 0.7255 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.609, allocations: 173.5 kB / 0.7257 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.6091, allocations: 5.719 kB / 0.7257 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.6091, allocations: 1.688 kB / 0.7257 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/0.6093, allocations: 71.72 kB / 0.7258 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.6094, allocations: 10.3 kB / 0.7258 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.6094, allocations: 4 kB / 0.7258 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.6094, allocations: 1.219 kB / 0.7258 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002952/0.6097, allocations: 72.2 kB / 0.7259 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000336/0.61, allocations: 288.3 kB / 0.7261 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.6102, allocations: 51.91 kB / 0.7262 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.6104, allocations: 41.55 kB / 0.7262 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001494/0.6106, allocations: 88.23 kB / 0.7263 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.6106, allocations: 40.8 kB / 0.7263 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.6106, allocations: 0 / 0.7263 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005266/0.6111, allocations: 133.2 kB / 0.7265 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.6112, allocations: 52.62 kB / 0.7265 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.148e-05/0.6113, allocations: 116.6 kB / 0.7266 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.6113, allocations: 26.77 kB / 0.7267 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.819e-05/0.6113, allocations: 91.72 kB / 0.7267 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.6113, allocations: 6.438 kB / 0.7268 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/0.6114, allocations: 21.73 kB / 0.7268 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.485e-05/0.6115, allocations: 317.2 kB / 0.7271 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.6116, allocations: 31.41 kB / 0.7271 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.6118, allocations: 32 kB / 0.7271 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/0.6121, allocations: 76.2 kB / 0.7272 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.6121, allocations: 0 / 0.7272 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003262/0.6124, allocations: 98.91 kB / 0.7273 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.6124, allocations: 5.875 kB / 0.7273 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.6124, allocations: 0 / 0.7273 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.6125, allocations: 10.06 kB / 0.7273 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.6126, allocations: 14.92 kB / 0.7273 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.6126, allocations: 0.7969 kB / 0.7273 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.152e-05/0.6127, allocations: 20.94 kB / 0.7274 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.6127, allocations: 1.594 kB / 0.7274 GB, free: 14.42 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.459e-05/0.6128, allocations: 111.9 kB / 0.7275 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.6128, allocations: 2.594 kB / 0.7275 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003614/0.6131, allocations: 113.9 kB / 0.7276 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.6132, allocations: 1.312 kB / 0.7276 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.6132, allocations: 0 / 0.7276 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.6132, allocations: 0.75 kB / 0.7276 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.6133, allocations: 182.5 kB / 0.7278 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.6133, allocations: 0.8906 kB / 0.7278 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.528e-05/0.6134, allocations: 15.14 kB / 0.7278 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.6135, allocations: 5.281 kB / 0.7278 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.6135, allocations: 0 / 0.7278 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.6135, allocations: 4.141 kB / 0.7278 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.6135, allocations: 0 / 0.7278 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003518/0.6138, allocations: 203.1 kB / 0.728 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.386e-05/0.6139, allocations: 88.3 kB / 0.7281 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.6139, allocations: 0.6094 kB / 0.7281 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.614, allocations: 11.19 kB / 0.7281 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.6141, allocations: 7.969 kB / 0.7281 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.6141, allocations: 2.094 kB / 0.7281 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.811e-05/0.6141, allocations: 92.34 kB / 0.7282 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6141, allocations: 0.875 kB / 0.7282 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002301/0.6144, allocations: 13.11 kB / 0.7282 GB, free: 13.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006201/0.615, allocations: 0.7415 MB / 0.7289 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003336/0.6154, allocations: 72.14 kB / 0.729 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.6154, allocations: 0 / 0.729 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.6155, allocations: 39.77 kB / 0.729 GB, free: 13 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.6158, allocations: 11 kB / 0.729 GB, free: 13 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.6176, allocations: 1.428 MB / 0.7304 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/0.6178, allocations: 0.6824 MB / 0.7311 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.833e-05/0.6178, allocations: 4.266 kB / 0.7311 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.567e-05/0.6179, allocations: 16.09 kB / 0.7311 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.6179, allocations: 0 / 0.7311 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1208/0.7387, allocations: 2.051 MB / 0.7331 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.902/8.641, allocations: 16.91 kB / 0.7331 GB, free: 10.7 MB / 0.5606 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)