Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.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.001473/0.001473, allocations: 116.7 kB / 17.13 MB, free: 5.758 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.001467/0.001467, allocations: 194.1 kB / 20.08 MB, free: 2.848 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.31/1.31, allocations: 225.6 MB / 248.5 MB, free: 3.637 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.002263/0.002263, allocations: 289.8 kB / 303.6 MB, free: 3.672 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 0.9777/0.9777, allocations: 180.9 MB / 0.5268 GB, free: 2.723 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.phiSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002713/0.002713, allocations: 99.84 kB / 0.7259 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.486/0.4888, allocations: 94.16 MB / 0.8179 GB, free: 7.449 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.002204/0.491, allocations: 1.71 MB / 0.8195 GB, free: 6.27 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0005535/0.4915, allocations: 0.5135 MB / 0.82 GB, free: 5.895 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.993e-05/0.4915, allocations: 1.25 kB / 0.82 GB, free: 5.895 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0003138/0.4919, allocations: 145.3 kB / 0.8202 GB, free: 5.84 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 5.944e-05/0.4919, allocations: 52.45 kB / 0.8202 GB, free: 5.812 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002182/0.4921, allocations: 71.17 kB / 0.8203 GB, free: 5.781 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.4923, allocations: 100.6 kB / 0.8204 GB, free: 5.738 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 3.314e-05/0.4923, allocations: 3.938 kB / 0.8204 GB, free: 5.738 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 5.291e-05/0.4923, allocations: 40.25 kB / 0.8204 GB, free: 5.719 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 7.184e-05/0.4924, allocations: 55.86 kB / 0.8205 GB, free: 5.695 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.4924, allocations: 2.625 kB / 0.8205 GB, free: 5.695 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.4926, allocations: 88.81 kB / 0.8206 GB, free: 5.672 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 6.098e-05/0.4926, allocations: 59.44 kB / 0.8206 GB, free: 5.652 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 5.223e-05/0.4927, allocations: 60.98 kB / 0.8207 GB, free: 5.617 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.4929, allocations: 197.1 kB / 0.8209 GB, free: 5.547 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.4929, allocations: 0 / 0.8209 GB, free: 5.547 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.052e-06/0.4929, allocations: 1.344 kB / 0.8209 GB, free: 5.547 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 9.869e-06/0.4929, allocations: 0 / 0.8209 GB, free: 5.547 MB / 0.5763 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.0004452/0.4934, allocations: 496.8 kB / 0.8213 GB, free: 5.086 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.4934, allocations: 10 kB / 0.8213 GB, free: 5.086 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.4934, allocations: 16.44 kB / 0.8214 GB, free: 5.078 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.4935, allocations: 222.6 kB / 0.8216 GB, free: 4.844 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.4936, allocations: 1.719 kB / 0.8216 GB, free: 4.844 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.4936, allocations: 1.375 kB / 0.8216 GB, free: 4.844 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.4937, allocations: 65.16 kB / 0.8216 GB, free: 4.805 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.4937, allocations: 3.938 kB / 0.8216 GB, free: 4.801 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.4937, allocations: 5.344 kB / 0.8216 GB, free: 4.797 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.4937, allocations: 4 kB / 0.8217 GB, free: 4.793 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000155/0.4939, allocations: 62.06 kB / 0.8217 GB, free: 4.781 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.4942, allocations: 328 kB / 0.822 GB, free: 4.492 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.4944, allocations: 68 kB / 0.8221 GB, free: 4.453 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.47e-05/0.4945, allocations: 33.36 kB / 0.8221 GB, free: 4.441 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 3.631e-05/0.4945, allocations: 13.73 kB / 0.8221 GB, free: 4.438 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.454e-05/0.4945, allocations: 31.72 kB / 0.8222 GB, free: 4.398 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.4945, allocations: 3.938 kB / 0.8222 GB, free: 4.395 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2): time 0.0003354/0.4948, allocations: 135.5 kB / 0.8223 GB, free: 4.34 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.634e-05/0.4949, allocations: 52.06 kB / 0.8223 GB, free: 4.277 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001967/0.4951, allocations: 262.6 kB / 0.8226 GB, free: 4.133 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 6.432e-06/0.4951, allocations: 26.41 kB / 0.8226 GB, free: 4.102 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 5.242e-05/0.4951, allocations: 136 kB / 0.8228 GB, free: 3.98 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 1.203e-05/0.4951, allocations: 0.5156 kB / 0.8228 GB, free: 3.98 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.377e-05/0.4951, allocations: 12.83 kB / 0.8228 GB, free: 3.965 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.441e-05/0.4952, allocations: 333.3 kB / 0.8231 GB, free: 3.645 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.882e-05/0.4953, allocations: 34.84 kB / 0.8231 GB, free: 3.633 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.92e-05/0.4953, allocations: 30.25 kB / 0.8231 GB, free: 3.629 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.4955, allocations: 69.08 kB / 0.8232 GB, free: 3.605 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4955, allocations: 4.688 kB / 0.8232 GB, free: 3.602 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001783/0.4957, allocations: 115.4 kB / 0.8233 GB, free: 3.543 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.4957, allocations: 5.875 kB / 0.8233 GB, free: 3.543 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.4957, allocations: 0.5625 kB / 0.8233 GB, free: 3.543 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.4957, allocations: 2.594 kB / 0.8233 GB, free: 3.543 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.293e-05/0.4958, allocations: 7.969 kB / 0.8233 GB, free: 3.543 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.4958, allocations: 0.8438 kB / 0.8233 GB, free: 3.543 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.738e-05/0.4958, allocations: 5 kB / 0.8233 GB, free: 3.543 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.4958, allocations: 2.5 kB / 0.8233 GB, free: 3.543 MB / 0.5763 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 7.124e-05/0.4959, allocations: 141.8 kB / 0.8235 GB, free: 3.414 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.4959, allocations: 19.73 kB / 0.8235 GB, free: 3.402 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/0.4961, allocations: 120.1 kB / 0.8236 GB, free: 3.348 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.4961, allocations: 0 / 0.8236 GB, free: 3.348 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.4961, allocations: 0.6094 kB / 0.8236 GB, free: 3.348 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.4961, allocations: 0 / 0.8236 GB, free: 3.348 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.4963, allocations: 219.3 kB / 0.8238 GB, free: 3.137 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.4963, allocations: 0 / 0.8238 GB, free: 3.137 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.114e-05/0.4964, allocations: 16.56 kB / 0.8238 GB, free: 3.133 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.4964, allocations: 0.7031 kB / 0.8238 GB, free: 3.133 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.4964, allocations: 0 / 0.8238 GB, free: 3.133 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.4964, allocations: 0 / 0.8238 GB, free: 3.133 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4964, allocations: 0.7969 kB / 0.8238 GB, free: 3.133 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.4966, allocations: 213.6 kB / 0.824 GB, free: 2.969 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 3.168e-05/0.4966, allocations: 94.7 kB / 0.8241 GB, free: 2.863 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.4966, allocations: 0 / 0.8241 GB, free: 2.863 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.599e-05/0.4967, allocations: 8.156 kB / 0.8241 GB, free: 2.863 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.4967, allocations: 1.312 kB / 0.8241 GB, free: 2.863 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.4967, allocations: 2.625 kB / 0.8241 GB, free: 2.863 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0001213/0.4968, allocations: 190.6 kB / 0.8243 GB, free: 2.758 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7e-08/0.4968, allocations: 0 / 0.8243 GB, free: 2.758 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002407/0.4971, allocations: 39.89 kB / 0.8244 GB, free: 2.75 MB / 0.5763 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 (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 Backend phase and start with SimCode phase: time 0.0001284/0.4972, allocations: 125 kB / 0.8245 GB, free: 2.656 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.000203/0.4974, allocations: 61.19 kB / 0.8245 GB, free: 2.648 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.4974, allocations: 3.938 kB / 0.8246 GB, free: 2.645 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 7.966e-05/0.4975, allocations: 36.17 kB / 0.8246 GB, free: 2.637 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.4979, allocations: 57.28 kB / 0.8246 GB, free: 2.609 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004262/0.4983, allocations: 374.9 kB / 0.825 GB, free: 2.363 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.4984, allocations: 0.7362 MB / 0.8257 GB, free: 1.66 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.843e-05/0.4985, allocations: 10.45 kB / 0.8257 GB, free: 1.656 MB / 0.5763 GB Notification: Performance of SimCode: time 2.81e-07/0.4985, allocations: 0 / 0.8257 GB, free: 1.656 MB / 0.5763 GB Notification: Performance of Templates: time 0.003436/0.5019, allocations: 1.854 MB / 0.8275 GB, free: 1.465 MB / 0.5763 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.952447504736483] Failed to read output from testmodel.py, exit status != 0: 0.508672462310642 0.5202844329999999 0.024784843 Calling exit ...