Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009171/0.0009171, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009779/0.0009779, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.972/0.972, allocations: 177.2 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002575/0.002575, allocations: 245.7 kB / 260.5 MB, free: 12.68 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.782/0.782, allocations: 138.4 MB / 402.2 MB, free: 0.543 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 462.3 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.462e-05/2.606e-05, allocations: 2.312 kB / 462.3 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.005992/0.006018, allocations: 4.729 MB / 467 MB, free: 13.82 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1922/0.1983, allocations: 146 MB / 0.5986 GB, free: 11.71 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.1993, allocations: 23.81 kB / 0.5986 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0004884/0.1998, allocations: 202.1 kB / 0.5988 GB, free: 11.48 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.00138/0.2011, allocations: 0.5823 MB / 0.5994 GB, free: 10.9 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001455/0.2026, allocations: 0.8567 MB / 0.6002 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001208/0.2038, allocations: 1.429 MB / 0.6016 GB, free: 8.609 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005004/0.2043, allocations: 402 kB / 0.602 GB, free: 8.188 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008233/0.2051, allocations: 0.7522 MB / 0.6028 GB, free: 7.434 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003568/0.2055, allocations: 362.9 kB / 0.6031 GB, free: 7.078 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 9.626e-05/0.2056, allocations: 104 kB / 0.6032 GB, free: 6.977 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000648/0.2062, allocations: 487.3 kB / 0.6037 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001702/0.2064, allocations: 283 kB / 0.6039 GB, free: 6.223 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002358/0.2066, allocations: 378.1 kB / 0.6043 GB, free: 5.855 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.2077, allocations: 1.21 MB / 0.6055 GB, free: 4.641 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2077, allocations: 0 / 0.6055 GB, free: 4.641 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.754e-06/0.2077, allocations: 0 / 0.6055 GB, free: 4.641 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.2078, allocations: 0 / 0.6055 GB, free: 4.641 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.001338/0.2091, allocations: 1.349 MB / 0.6068 GB, free: 3.27 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 2.949e-05/0.2091, allocations: 8.75 kB / 0.6068 GB, free: 3.262 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007138/0.2098, allocations: 292.2 kB / 0.6071 GB, free: 2.977 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006525/0.2105, allocations: 0.5823 MB / 0.6077 GB, free: 2.367 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.89e-05/0.2105, allocations: 70.12 kB / 0.6077 GB, free: 2.297 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.64e-05/0.2106, allocations: 80 kB / 0.6078 GB, free: 2.219 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006135/0.2112, allocations: 0.8493 MB / 0.6086 GB, free: 1.281 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.2112, allocations: 0 / 0.6086 GB, free: 1.281 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.34e-05/0.2113, allocations: 36 kB / 0.6087 GB, free: 1.246 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.2113, allocations: 24 kB / 0.6087 GB, free: 1.223 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005283/0.2118, allocations: 0.5635 MB / 0.6092 GB, free: 0.6562 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/0.2134, allocations: 1.645 MB / 0.6108 GB, free: 14.98 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004254/0.2139, allocations: 364.7 kB / 0.6112 GB, free: 14.62 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.214, allocations: 122.8 kB / 0.6113 GB, free: 14.5 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.379e-05/0.214, allocations: 24.64 kB / 0.6113 GB, free: 14.48 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003045/0.2143, allocations: 431.7 kB / 0.6117 GB, free: 14.02 MB / 0.573 GB Notification: Performance of pre-optimization done (n=78): time 1.763e-06/0.2143, allocations: 4 kB / 0.6117 GB, free: 14.01 MB / 0.573 GB Notification: Performance of matching and sorting (n=78): time 0.0009183/0.2152, allocations: 0.5296 MB / 0.6123 GB, free: 13.47 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.466e-05/0.2153, allocations: 200.6 kB / 0.6125 GB, free: 13.23 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003115/0.2156, allocations: 0.5016 MB / 0.6129 GB, free: 12.72 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.136e-05/0.2157, allocations: 45.7 kB / 0.613 GB, free: 12.67 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.2158, allocations: 338.2 kB / 0.6133 GB, free: 12.33 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.2159, allocations: 257.8 kB / 0.6136 GB, free: 12.08 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.2161, allocations: 150.5 kB / 0.6137 GB, free: 11.92 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.2162, allocations: 394.6 kB / 0.6141 GB, free: 11.53 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.2163, allocations: 88.77 kB / 0.6142 GB, free: 11.44 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.2165, allocations: 296.5 kB / 0.6144 GB, free: 11.11 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/0.2168, allocations: 309 kB / 0.6147 GB, free: 10.79 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2168, allocations: 0 / 0.6147 GB, free: 10.79 MB / 0.573 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0005574/0.2173, allocations: 435 kB / 0.6152 GB, free: 10.35 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.2173, allocations: 4 kB / 0.6152 GB, free: 10.35 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2173, allocations: 0 / 0.6152 GB, free: 10.35 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003601/0.2177, allocations: 128.7 kB / 0.6153 GB, free: 10.22 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002905/0.218, allocations: 143.8 kB / 0.6154 GB, free: 10.08 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009026/0.2189, allocations: 1.313 MB / 0.6167 GB, free: 8.684 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002346/0.2191, allocations: 71.53 kB / 0.6168 GB, free: 8.613 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/0.2192, allocations: 23.97 kB / 0.6168 GB, free: 8.59 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000162/0.2193, allocations: 163.9 kB / 0.6169 GB, free: 8.422 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.606e-05/0.2194, allocations: 75.92 kB / 0.617 GB, free: 8.348 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007233/0.2201, allocations: 0.5927 MB / 0.6176 GB, free: 7.742 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.2201, allocations: 8 kB / 0.6176 GB, free: 7.734 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.2201, allocations: 4 kB / 0.6176 GB, free: 7.73 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.2201, allocations: 4.984 kB / 0.6176 GB, free: 7.727 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003918/0.2205, allocations: 435.5 kB / 0.618 GB, free: 7.285 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2205, allocations: 4 kB / 0.618 GB, free: 7.281 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002588/0.2208, allocations: 127.8 kB / 0.6182 GB, free: 7.156 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002836/0.2211, allocations: 108.7 kB / 0.6183 GB, free: 7.047 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.277e-05/0.2211, allocations: 22.23 kB / 0.6183 GB, free: 7.027 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007974/0.2219, allocations: 1.335 MB / 0.6196 GB, free: 5.609 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2219, allocations: 0 / 0.6196 GB, free: 5.609 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005299/0.2224, allocations: 481.1 kB / 0.62 GB, free: 5.117 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.2226, allocations: 143.1 kB / 0.6202 GB, free: 4.977 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.459e-05/0.2227, allocations: 23.98 kB / 0.6202 GB, free: 4.953 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.2228, allocations: 39.97 kB / 0.6202 GB, free: 4.914 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.485e-05/0.2229, allocations: 68.81 kB / 0.6203 GB, free: 4.844 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-05/0.223, allocations: 19.98 kB / 0.6203 GB, free: 4.824 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001903/0.2232, allocations: 251.4 kB / 0.6206 GB, free: 4.582 MB / 0.573 GB Notification: Performance of sort global known variables: time 6e-08/0.2232, allocations: 0 / 0.6206 GB, free: 4.582 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0005211/0.2237, allocations: 331.1 kB / 0.6209 GB, free: 4.258 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001412/0.2251, allocations: 0.7474 MB / 0.6216 GB, free: 3.875 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0005384/0.2256, allocations: 489.1 kB / 0.6221 GB, free: 3.387 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.2256, allocations: 8 kB / 0.6221 GB, free: 3.379 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.000284/0.2259, allocations: 355.3 kB / 0.6224 GB, free: 3.02 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005189/0.2264, allocations: 315.1 kB / 0.6227 GB, free: 2.746 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/0.2282, allocations: 1.498 MB / 0.6242 GB, free: 1.219 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.2283, allocations: 190.3 kB / 0.6244 GB, free: 1.012 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0003686/0.2287, allocations: 191.9 kB / 0.6245 GB, free: 0.8359 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004467/0.2291, allocations: 303 kB / 0.6248 GB, free: 0.5391 MB / 0.573 GB Notification: Performance of SimCode: time 5.31e-07/0.2291, allocations: 0 / 0.6248 GB, free: 0.5391 MB / 0.573 GB Notification: Performance of Templates: time 0.01712/0.2463, allocations: 16.32 MB / 0.6408 GB, free: 0.5703 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.431662808638066]