Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 104.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002074/0.002074, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002421/0.002421, allocations: 280.4 kB / 303 MB, free: 3.605 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.072/1.072, allocations: 180.9 MB / 0.5261 GB, free: 2.781 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002779/0.002779, allocations: 99.84 kB / 0.7247 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.561/0.5637, allocations: 94.16 MB / 0.8167 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002395/0.5661, allocations: 1.513 MB / 0.8182 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002634/0.5664, allocations: 131.7 kB / 0.8183 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.114e-05/0.5664, allocations: 0 / 0.8183 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.884e-05/0.5665, allocations: 4.969 kB / 0.8183 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.716e-05/0.5665, allocations: 11.17 kB / 0.8183 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002753/0.5668, allocations: 72.12 kB / 0.8184 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.744e-05/0.5669, allocations: 53.23 kB / 0.8184 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.589e-05/0.567, allocations: 16.66 kB / 0.8185 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.794e-05/0.567, allocations: 27.53 kB / 0.8185 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.196e-05/0.5671, allocations: 26.88 kB / 0.8185 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.5671, allocations: 5.938 kB / 0.8185 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.301e-05/0.5671, allocations: 5.281 kB / 0.8185 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.016e-05/0.5671, allocations: 13.92 kB / 0.8185 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.152e-05/0.5672, allocations: 25 kB / 0.8186 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.5673, allocations: 58.59 kB / 0.8186 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.5673, allocations: 0 / 0.8186 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5673, allocations: 3.938 kB / 0.8186 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.5673, allocations: 1.062 kB / 0.8186 GB, free: 5.887 MB / 0.5762 GB 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.0004622/0.5677, allocations: 374.9 kB / 0.819 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.5678, allocations: 9.781 kB / 0.819 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.943e-05/0.5678, allocations: 40.53 kB / 0.819 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.337e-05/0.5678, allocations: 7.797 kB / 0.819 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.5e-05/0.5679, allocations: 167.2 kB / 0.8192 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.302e-05/0.568, allocations: 37.06 kB / 0.8192 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.568, allocations: 6.562 kB / 0.8192 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.5682, allocations: 71.84 kB / 0.8193 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.5682, allocations: 0 / 0.8193 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.5682, allocations: 0.5 kB / 0.8193 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.5682, allocations: 4.922 kB / 0.8193 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.5684, allocations: 50.62 kB / 0.8194 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005023/0.5689, allocations: 315.2 kB / 0.8197 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.569, allocations: 46.59 kB / 0.8197 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.728e-05/0.5691, allocations: 37.28 kB / 0.8197 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.5691, allocations: 1.219 kB / 0.8197 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.5692, allocations: 31.53 kB / 0.8198 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.5692, allocations: 0 / 0.8198 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0003415/0.5695, allocations: 97.94 kB / 0.8199 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.5695, allocations: 52.22 kB / 0.8199 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.145e-05/0.5696, allocations: 115.2 kB / 0.82 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.5696, allocations: 25.7 kB / 0.82 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.955e-05/0.5696, allocations: 94.42 kB / 0.8201 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.185e-05/0.5696, allocations: 8.844 kB / 0.8201 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.5697, allocations: 18.33 kB / 0.8202 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.73e-05/0.5697, allocations: 321.4 kB / 0.8205 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.643e-05/0.5698, allocations: 31.38 kB / 0.8205 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.245e-05/0.5699, allocations: 35.94 kB / 0.8205 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.57, allocations: 55.45 kB / 0.8206 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.57, allocations: 0 / 0.8206 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001917/0.5702, allocations: 97.67 kB / 0.8207 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.5702, allocations: 6.062 kB / 0.8207 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.5702, allocations: 0 / 0.8207 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.5703, allocations: 1.344 kB / 0.8207 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.629e-05/0.5704, allocations: 13.86 kB / 0.8207 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.5704, allocations: 0 / 0.8207 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.243e-05/0.5704, allocations: 11.14 kB / 0.8207 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.5704, allocations: 2.969 kB / 0.8207 GB, free: 3.977 MB / 0.5762 GB 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 5.231e-05/0.5705, allocations: 119.3 kB / 0.8208 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.5705, allocations: 2.25 kB / 0.8208 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.5e-05/0.5705, allocations: 12.53 kB / 0.8208 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.5705, allocations: 1.188 kB / 0.8208 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.5705, allocations: 0 / 0.8208 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.5705, allocations: 0 / 0.8208 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.5707, allocations: 186.2 kB / 0.821 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.5707, allocations: 0 / 0.821 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.432e-05/0.5707, allocations: 11.3 kB / 0.821 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.5707, allocations: 9.281 kB / 0.821 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.5707, allocations: 3.234 kB / 0.821 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.5707, allocations: 1.188 kB / 0.821 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.5707, allocations: 0 / 0.821 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.5709, allocations: 178 kB / 0.8212 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.819e-05/0.571, allocations: 82.56 kB / 0.8213 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.571, allocations: 5.125 kB / 0.8213 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.5711, allocations: 9.531 kB / 0.8213 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.5711, allocations: 5.047 kB / 0.8213 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.5711, allocations: 5.75 kB / 0.8213 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.96e-05/0.5712, allocations: 89.31 kB / 0.8214 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5712, allocations: 0 / 0.8214 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002308/0.5714, allocations: 12.31 kB / 0.8214 GB, free: 3.285 MB / 0.5762 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 (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.0003734/0.5718, allocations: 0.7059 MB / 0.8221 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002032/0.572, allocations: 52.28 kB / 0.8221 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.572, allocations: 5.25 kB / 0.8222 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.67e-05/0.5721, allocations: 28.97 kB / 0.8222 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.5724, allocations: 6.328 kB / 0.8222 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.5736, allocations: 1.319 MB / 0.8235 GB, free: 17.37 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.5739, allocations: 0.6881 MB / 0.8241 GB, free: 16.67 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.135e-05/0.574, allocations: 4.203 kB / 0.8241 GB, free: 16.67 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.14e-05/0.574, allocations: 18.03 kB / 0.8242 GB, free: 16.65 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.574, allocations: 0 / 0.8242 GB, free: 16.65 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02299/0.597, allocations: 1.818 MB / 0.8259 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.972/8.569, allocations: 0.5938 kB / 0.8259 GB, free: 16.27 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.460202096030116] Failed to read output from testmodel.py, exit status != 0: 8.638899932149798 8.667091409 8.093796269 Calling exit ...