Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir",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.001644/0.001644, allocations: 104.6 kB / 16.4 MB, free: 6.457 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.001756/0.001756, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.506/1.506, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7862/0.7862, allocations: 125.3 MB / 416.6 MB, free: 13.53 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 63.47 kB / 0.5716 GB, free: 27.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1893, allocations: 78.56 MB / 0.6483 GB, free: 5.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003707/0.1931, allocations: 1.49 MB / 0.6498 GB, free: 4.129 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003604/0.1935, allocations: 133 kB / 0.6499 GB, free: 4 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.52e-05/0.1935, allocations: 4 kB / 0.6499 GB, free: 3.996 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.447e-05/0.1936, allocations: 3.938 kB / 0.6499 GB, free: 3.992 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.488e-05/0.1937, allocations: 3.938 kB / 0.6499 GB, free: 3.988 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003587/0.194, allocations: 73.56 kB / 0.65 GB, free: 3.918 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.1942, allocations: 55.84 kB / 0.6501 GB, free: 3.863 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.1943, allocations: 19.98 kB / 0.6501 GB, free: 3.844 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.748e-05/0.1944, allocations: 27.91 kB / 0.6501 GB, free: 3.816 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.194e-05/0.1945, allocations: 31.91 kB / 0.6501 GB, free: 3.785 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/0.1945, allocations: 4 kB / 0.6501 GB, free: 3.781 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.556e-05/0.1945, allocations: 4 kB / 0.6501 GB, free: 3.777 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.952e-05/0.1945, allocations: 15.92 kB / 0.6502 GB, free: 3.762 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.1946, allocations: 15.94 kB / 0.6502 GB, free: 3.746 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.1947, allocations: 67.94 kB / 0.6502 GB, free: 3.68 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1947, allocations: 0 / 0.6502 GB, free: 3.68 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.145e-06/0.1948, allocations: 0 / 0.6502 GB, free: 3.68 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.1948, allocations: 0 / 0.6502 GB, free: 3.68 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000616/0.1954, allocations: 381.1 kB / 0.6506 GB, free: 3.258 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.1954, allocations: 8.031 kB / 0.6506 GB, free: 3.25 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.127e-05/0.1955, allocations: 38.75 kB / 0.6506 GB, free: 3.203 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.919e-05/0.1955, allocations: 4.891 kB / 0.6506 GB, free: 3.199 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.1957, allocations: 164.4 kB / 0.6508 GB, free: 3 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.647e-05/0.1958, allocations: 30.27 kB / 0.6508 GB, free: 2.965 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.1958, allocations: 12.36 kB / 0.6508 GB, free: 2.953 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.196, allocations: 81.89 kB / 0.6509 GB, free: 2.867 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.196, allocations: 4 kB / 0.6509 GB, free: 2.863 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.1961, allocations: 0 / 0.6509 GB, free: 2.863 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.1961, allocations: 0 / 0.6509 GB, free: 2.863 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001874/0.1963, allocations: 47.89 kB / 0.651 GB, free: 2.816 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006602/0.1969, allocations: 324.7 kB / 0.6513 GB, free: 2.449 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.1971, allocations: 46.5 kB / 0.6513 GB, free: 2.395 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.1972, allocations: 32.92 kB / 0.6514 GB, free: 2.359 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.1972, allocations: 0 / 0.6514 GB, free: 2.359 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.1973, allocations: 34.56 kB / 0.6514 GB, free: 2.316 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 2.716e-06/0.1973, allocations: 7.922 kB / 0.6514 GB, free: 2.309 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003735/0.1977, allocations: 97.64 kB / 0.6515 GB, free: 2.207 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/0.1977, allocations: 55.41 kB / 0.6515 GB, free: 2.141 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.1978, allocations: 113.8 kB / 0.6517 GB, free: 2.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.1979, allocations: 25.7 kB / 0.6517 GB, free: 1.988 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.617e-05/0.1979, allocations: 96.08 kB / 0.6518 GB, free: 1.891 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.198, allocations: 7.906 kB / 0.6518 GB, free: 1.883 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.632e-05/0.198, allocations: 21.72 kB / 0.6518 GB, free: 1.855 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.1982, allocations: 322.8 kB / 0.6521 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.843e-05/0.1983, allocations: 19.98 kB / 0.6521 GB, free: 1.512 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.1984, allocations: 37.69 kB / 0.6522 GB, free: 1.469 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.1986, allocations: 53.69 kB / 0.6522 GB, free: 1.41 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1986, allocations: 0 / 0.6522 GB, free: 1.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002258/0.1988, allocations: 85.59 kB / 0.6523 GB, free: 1.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.1989, allocations: 11.98 kB / 0.6523 GB, free: 1.309 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1989, allocations: 0 / 0.6523 GB, free: 1.309 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1989, allocations: 0 / 0.6523 GB, free: 1.309 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.872e-05/0.199, allocations: 8.125 kB / 0.6523 GB, free: 1.301 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.899e-05/0.199, allocations: 8.016 kB / 0.6523 GB, free: 1.293 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.232e-05/0.1991, allocations: 19.89 kB / 0.6523 GB, free: 1.273 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.1991, allocations: 0 / 0.6523 GB, free: 1.273 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 9.376e-05/0.1992, allocations: 121.7 kB / 0.6525 GB, free: 1.145 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.1992, allocations: 0 / 0.6525 GB, free: 1.145 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.519e-05/0.1993, allocations: 15.89 kB / 0.6525 GB, free: 1.117 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1993, allocations: 0 / 0.6525 GB, free: 1.117 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1993, allocations: 0 / 0.6525 GB, free: 1.117 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1993, allocations: 0 / 0.6525 GB, free: 1.117 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.1995, allocations: 181.6 kB / 0.6526 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.1995, allocations: 0 / 0.6526 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.564e-05/0.1996, allocations: 8 kB / 0.6526 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.1996, allocations: 3.984 kB / 0.6527 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.1996, allocations: 0 / 0.6527 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1996, allocations: 0 / 0.6527 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1996, allocations: 0 / 0.6527 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.1999, allocations: 187.3 kB / 0.6528 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.214e-05/0.1999, allocations: 77.11 kB / 0.6529 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.2, allocations: 7.875 kB / 0.6529 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.2001, allocations: 11.98 kB / 0.6529 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.2001, allocations: 11.98 kB / 0.6529 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.076e-06/0.2002, allocations: 0 / 0.6529 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.647e-05/0.2002, allocations: 95.33 kB / 0.653 GB, free: 472 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2002, allocations: 0 / 0.653 GB, free: 472 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002201/0.2005, allocations: 11.95 kB / 0.653 GB, free: 460 kB / 494.1 MB 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 (4): * Single equations (assignments): 4 * 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.0006158/0.2011, allocations: 0.701 MB / 0.6537 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002425/0.2013, allocations: 59.89 kB / 0.6538 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2013, allocations: 0 / 0.6538 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.611e-05/0.2014, allocations: 28.05 kB / 0.6538 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/0.2018, allocations: 4 kB / 0.6538 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.2034, allocations: 1.333 MB / 0.6551 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.2037, allocations: 0.6846 MB / 0.6558 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.037e-05/0.2038, allocations: 4 kB / 0.6558 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.601e-05/0.2038, allocations: 11.44 kB / 0.6558 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.2038, allocations: 0 / 0.6558 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02391/0.2278, allocations: 1.776 MB / 0.6575 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.886/8.114, allocations: 17.89 kB / 0.6575 GB, free: 11.8 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)