Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.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.001425/0.001425, allocations: 118.3 kB / 17.13 MB, free: 5.906 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.001482/0.001482, allocations: 194.2 kB / 20.08 MB, free: 2.977 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.392/1.392, allocations: 225.6 MB / 248.5 MB, free: 3.621 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.002451/0.002451, allocations: 279.2 kB / 303.6 MB, free: 3.727 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.025/1.025, allocations: 180.9 MB / 0.5268 GB, free: 2.727 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: translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002673/0.002673, allocations: 99.84 kB / 0.7259 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4385/0.4412, allocations: 94.15 MB / 0.8178 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.002253/0.4434, allocations: 1.726 MB / 0.8195 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.4446, allocations: 1.118 MB / 0.8206 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.79e-05/0.4447, allocations: 1.781 kB / 0.8206 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003332/0.445, allocations: 149.3 kB / 0.8208 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.192e-05/0.4451, allocations: 52.53 kB / 0.8208 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000333/0.4454, allocations: 161.2 kB / 0.821 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000122/0.4455, allocations: 104.7 kB / 0.8211 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.548e-05/0.4456, allocations: 10.7 kB / 0.8211 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.364e-05/0.4456, allocations: 41.36 kB / 0.8211 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.849e-05/0.4457, allocations: 60.75 kB / 0.8212 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.4457, allocations: 2.406 kB / 0.8212 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003163/0.446, allocations: 241.2 kB / 0.8214 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.609e-05/0.4461, allocations: 54.64 kB / 0.8215 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.435e-05/0.4461, allocations: 69.92 kB / 0.8215 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003703/0.4465, allocations: 308.1 kB / 0.8218 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.4465, allocations: 1.031 kB / 0.8218 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4465, allocations: 0 / 0.8218 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.4465, allocations: 0.6094 kB / 0.8218 GB, free: 4.965 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005156/0.447, allocations: 0.5128 MB / 0.8223 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.723e-05/0.4471, allocations: 9.562 kB / 0.8223 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.514e-05/0.4471, allocations: 21.11 kB / 0.8223 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.4472, allocations: 222.2 kB / 0.8226 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.4472, allocations: 5.688 kB / 0.8226 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.4472, allocations: 3.188 kB / 0.8226 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.4474, allocations: 83.31 kB / 0.8226 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.4474, allocations: 4 kB / 0.8226 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.926e-06/0.4474, allocations: 6.391 kB / 0.8227 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.4475, allocations: 0 / 0.8227 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001932/0.4476, allocations: 94.84 kB / 0.8227 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004217/0.4481, allocations: 376 kB / 0.8231 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.4482, allocations: 109.7 kB / 0.8232 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.581e-05/0.4483, allocations: 48.11 kB / 0.8233 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.778e-05/0.4484, allocations: 27.5 kB / 0.8233 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.532e-05/0.4484, allocations: 31.27 kB / 0.8233 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4484, allocations: 0 / 0.8233 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003874/0.4488, allocations: 199.2 kB / 0.8235 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.835e-05/0.4488, allocations: 51.97 kB / 0.8236 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.449, allocations: 259.3 kB / 0.8238 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.544e-06/0.449, allocations: 25.7 kB / 0.8238 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.912e-05/0.4491, allocations: 136.2 kB / 0.824 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.382e-05/0.4491, allocations: 5.781 kB / 0.824 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/0.4491, allocations: 15.22 kB / 0.824 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.906e-05/0.4491, allocations: 338.5 kB / 0.8243 GB, free: 3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.723e-05/0.4492, allocations: 48.61 kB / 0.8243 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.918e-05/0.4493, allocations: 47.84 kB / 0.8244 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.4495, allocations: 100.2 kB / 0.8245 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4495, allocations: 0 / 0.8245 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002252/0.4497, allocations: 151.9 kB / 0.8246 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.4497, allocations: 7.062 kB / 0.8246 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.4498, allocations: 0 / 0.8246 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.4498, allocations: 1.641 kB / 0.8246 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.821e-05/0.4498, allocations: 8.734 kB / 0.8246 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.4498, allocations: 9.094 kB / 0.8247 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.177e-05/0.4499, allocations: 10.27 kB / 0.8247 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.4499, allocations: 4.781 kB / 0.8247 GB, free: 2.887 MB / 0.5762 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 (2): * Single equations (assignments): 2 * 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.682e-05/0.45, allocations: 134.4 kB / 0.8248 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.23e-05/0.45, allocations: 23.05 kB / 0.8248 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002913/0.4503, allocations: 158.9 kB / 0.825 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.4503, allocations: 0 / 0.825 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.4503, allocations: 4.516 kB / 0.825 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.4503, allocations: 2.562 kB / 0.825 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.4505, allocations: 253.7 kB / 0.8252 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4505, allocations: 0.5156 kB / 0.8252 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.892e-05/0.4506, allocations: 12.22 kB / 0.8252 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.4506, allocations: 3.938 kB / 0.8252 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.4506, allocations: 2.406 kB / 0.8252 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4506, allocations: 0.75 kB / 0.8252 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.4506, allocations: 0 / 0.8252 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.4508, allocations: 247 kB / 0.8255 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.367e-05/0.4509, allocations: 95.11 kB / 0.8256 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.4509, allocations: 0.6094 kB / 0.8256 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.074e-05/0.451, allocations: 5.203 kB / 0.8256 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/0.451, allocations: 4.266 kB / 0.8256 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.451, allocations: 6.531 kB / 0.8256 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001395/0.4512, allocations: 187.5 kB / 0.8258 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.4512, allocations: 0 / 0.8258 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003152/0.4515, allocations: 80.05 kB / 0.8258 GB, free: 2.07 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 (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.0002021/0.4517, allocations: 176.1 kB / 0.826 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002447/0.4519, allocations: 101.1 kB / 0.8261 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.4519, allocations: 0 / 0.8261 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.452, allocations: 51.08 kB / 0.8261 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.4524, allocations: 56.05 kB / 0.8262 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004784/0.4529, allocations: 399.8 kB / 0.8266 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001412/0.4531, allocations: 0.737 MB / 0.8273 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.348e-05/0.4531, allocations: 16.5 kB / 0.8273 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of SimCode: time 2.8e-07/0.4531, allocations: 0 / 0.8273 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of Templates: time 0.003836/0.4569, allocations: 2.169 MB / 0.8294 GB, free: 0.7266 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.03502353420481] Failed to read output from testmodel.py, exit status != 0: 0.46403455222025514 0.476401431 0.027216402 Calling exit ...