Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.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.001355/0.001355, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.00136/0.00136, allocations: 193.2 kB / 20.08 MB, free: 2.988 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.347/1.347, allocations: 225.6 MB / 248.5 MB, free: 3.625 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.002235/0.002235, allocations: 283.1 kB / 303.6 MB, free: 3.652 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.017/1.017, allocations: 180.9 MB / 0.5268 GB, free: 2.703 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.wSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002663/0.002663, allocations: 95.84 kB / 0.7259 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4763/0.4789, allocations: 94.15 MB / 0.8178 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor): time 0.002263/0.4812, allocations: 1.721 MB / 0.8195 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006101/0.4818, allocations: 0.5065 MB / 0.82 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.396e-05/0.4818, allocations: 1.5 kB / 0.82 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003731/0.4822, allocations: 151.8 kB / 0.8202 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.245e-05/0.4823, allocations: 47.69 kB / 0.8202 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002248/0.4825, allocations: 65.72 kB / 0.8203 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.4826, allocations: 106.4 kB / 0.8204 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.092e-05/0.4827, allocations: 6.891 kB / 0.8204 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.762e-05/0.4827, allocations: 36.83 kB / 0.8204 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.016e-05/0.4828, allocations: 51.59 kB / 0.8205 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.4828, allocations: 3.312 kB / 0.8205 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001755/0.483, allocations: 85.11 kB / 0.8205 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.049e-05/0.4831, allocations: 67.97 kB / 0.8206 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.241e-05/0.4831, allocations: 62.59 kB / 0.8207 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002365/0.4833, allocations: 194 kB / 0.8209 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4834, allocations: 0 / 0.8209 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.42e-07/0.4834, allocations: 0 / 0.8209 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.4834, allocations: 0 / 0.8209 GB, free: 5.512 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.0004525/0.4838, allocations: 498.6 kB / 0.8213 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.4838, allocations: 9.188 kB / 0.8213 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.827e-05/0.4839, allocations: 16.75 kB / 0.8214 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.484, allocations: 222.8 kB / 0.8216 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.154e-06/0.484, allocations: 4.375 kB / 0.8216 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.484, allocations: 1.656 kB / 0.8216 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.4842, allocations: 65.58 kB / 0.8216 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.4842, allocations: 3.938 kB / 0.8216 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.4842, allocations: 1 kB / 0.8216 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-06/0.4842, allocations: 0 / 0.8216 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001775/0.4844, allocations: 56.67 kB / 0.8217 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003851/0.4848, allocations: 331 kB / 0.822 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.4849, allocations: 69.97 kB / 0.8221 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.545e-05/0.485, allocations: 34.27 kB / 0.8221 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.569e-05/0.485, allocations: 24.97 kB / 0.8221 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.254e-05/0.485, allocations: 35.69 kB / 0.8222 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.485, allocations: 0 / 0.8222 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003835/0.4854, allocations: 135.2 kB / 0.8223 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.75e-05/0.4854, allocations: 52.59 kB / 0.8223 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/0.4856, allocations: 261.5 kB / 0.8226 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/0.4857, allocations: 25.7 kB / 0.8226 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.727e-05/0.4857, allocations: 140.7 kB / 0.8228 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.346e-05/0.4857, allocations: 7.422 kB / 0.8228 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.4858, allocations: 10.28 kB / 0.8228 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.224e-05/0.4858, allocations: 331.5 kB / 0.8231 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.468e-05/0.4859, allocations: 30.23 kB / 0.8231 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.184e-05/0.486, allocations: 27.34 kB / 0.8231 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.4861, allocations: 71.02 kB / 0.8232 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4861, allocations: 3.938 kB / 0.8232 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000204/0.4864, allocations: 107.5 kB / 0.8233 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.4864, allocations: 5.906 kB / 0.8233 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.4864, allocations: 2.625 kB / 0.8233 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.4864, allocations: 0 / 0.8233 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.115e-05/0.4865, allocations: 12.28 kB / 0.8233 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.4865, allocations: 4.516 kB / 0.8233 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.328e-05/0.4865, allocations: 7.406 kB / 0.8233 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.4865, allocations: 0 / 0.8233 GB, free: 3.504 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.593e-05/0.4866, allocations: 138.1 kB / 0.8235 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.4866, allocations: 20.33 kB / 0.8235 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002394/0.4869, allocations: 118.8 kB / 0.8236 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.4869, allocations: 0.6562 kB / 0.8236 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.4869, allocations: 7.312 kB / 0.8236 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.4869, allocations: 0 / 0.8236 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.487, allocations: 219.2 kB / 0.8238 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.487, allocations: 0 / 0.8238 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.362e-05/0.4871, allocations: 6.844 kB / 0.8238 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.4871, allocations: 3.609 kB / 0.8238 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.4871, allocations: 0 / 0.8238 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.4871, allocations: 0.7969 kB / 0.8238 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4871, allocations: 32 / 0.8238 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.4873, allocations: 207.9 kB / 0.824 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.844e-05/0.4874, allocations: 92.41 kB / 0.8241 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.4874, allocations: 4.422 kB / 0.8241 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.081e-05/0.4875, allocations: 5.984 kB / 0.8241 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.4875, allocations: 1.125 kB / 0.8241 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.4875, allocations: 4.031 kB / 0.8241 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001253/0.4876, allocations: 195.9 kB / 0.8243 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.4876, allocations: 0 / 0.8243 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002471/0.4879, allocations: 42.7 kB / 0.8244 GB, free: 2.711 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 (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.0001489/0.488, allocations: 122.1 kB / 0.8245 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002324/0.4883, allocations: 59.69 kB / 0.8245 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.4883, allocations: 10.69 kB / 0.8246 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.171e-05/0.4884, allocations: 30.81 kB / 0.8246 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.4888, allocations: 46.72 kB / 0.8246 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004798/0.4893, allocations: 384.2 kB / 0.825 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001427/0.4894, allocations: 0.7388 MB / 0.8257 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.102e-05/0.4894, allocations: 10.66 kB / 0.8257 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.4894, allocations: 0 / 0.8257 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of Templates: time 0.003518/0.4929, allocations: 1.846 MB / 0.8275 GB, free: 1.438 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.076008714037016] Failed to read output from testmodel.py, exit status != 0: 0.4998123738914728 0.511815734 0.025693546 Calling exit ...