Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.0008835/0.0008835, 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.001057/0.001057, allocations: 177.4 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.9497/0.9497, allocations: 177.1 MB / 203.8 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8922/0.8922, allocations: 154.6 MB / 414.8 MB, free: 0.5 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 480 MB, free: 6.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.992e-05/2.171e-05, allocations: 5.156 kB / 480 MB, free: 6.945 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007429/0.007451, allocations: 5.027 MB / 485 MB, free: 1.957 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.1846/0.1921, allocations: 146.1 MB / 0.6163 GB, free: 15.71 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008934/0.193, allocations: 23.81 kB / 0.6163 GB, free: 15.69 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0006101/0.1936, allocations: 206.1 kB / 0.6165 GB, free: 15.48 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001612/0.1952, allocations: 0.6172 MB / 0.6171 GB, free: 14.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.1968, allocations: 0.8724 MB / 0.618 GB, free: 13.99 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001356/0.1982, allocations: 1.501 MB / 0.6194 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000596/0.1988, allocations: 438.5 kB / 0.6199 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008948/0.1997, allocations: 0.7952 MB / 0.6206 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000455/0.2001, allocations: 396.5 kB / 0.621 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.2002, allocations: 108 kB / 0.6211 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008146/0.2011, allocations: 495.3 kB / 0.6216 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.000208/0.2013, allocations: 294.9 kB / 0.6219 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0003023/0.2016, allocations: 391 kB / 0.6222 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001663/0.2032, allocations: 1.265 MB / 0.6235 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2032, allocations: 0 / 0.6235 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2032, allocations: 0 / 0.6235 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.2032, allocations: 0 / 0.6235 GB, free: 8.305 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001479/0.2047, allocations: 1.418 MB / 0.6249 GB, free: 6.859 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.2048, allocations: 8.031 kB / 0.6249 GB, free: 6.852 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007894/0.2055, allocations: 296.2 kB / 0.6251 GB, free: 6.562 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007482/0.2063, allocations: 0.6017 MB / 0.6257 GB, free: 5.93 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.826e-05/0.2063, allocations: 70.12 kB / 0.6258 GB, free: 5.863 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.921e-05/0.2064, allocations: 88 kB / 0.6259 GB, free: 5.777 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007384/0.2072, allocations: 0.8797 MB / 0.6267 GB, free: 4.809 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.2072, allocations: 0 / 0.6267 GB, free: 4.809 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.177e-05/0.2072, allocations: 39.98 kB / 0.6268 GB, free: 4.77 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.2073, allocations: 20 kB / 0.6268 GB, free: 4.75 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006218/0.2079, allocations: 0.5869 MB / 0.6274 GB, free: 4.164 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001977/0.2099, allocations: 1.632 MB / 0.629 GB, free: 2.492 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008157/0.2107, allocations: 415.6 kB / 0.6294 GB, free: 2.07 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.2108, allocations: 138.6 kB / 0.6295 GB, free: 1.934 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.552e-05/0.2109, allocations: 32.62 kB / 0.6295 GB, free: 1.902 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000361/0.2112, allocations: 451 kB / 0.63 GB, free: 1.422 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=85): time 2.936e-06/0.2112, allocations: 0 / 0.63 GB, free: 1.422 MB / 0.5886 GB Notification: Performance of matching and sorting (n=85): time 0.001045/0.2123, allocations: 0.5616 MB / 0.6305 GB, free: 0.8555 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.587e-05/0.2123, allocations: 192.9 kB / 0.6307 GB, free: 0.625 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003842/0.2127, allocations: 0.5172 MB / 0.6312 GB, free: 100 kB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.809e-05/0.2128, allocations: 41.7 kB / 0.6312 GB, free: 52 kB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.213, allocations: 358.2 kB / 0.6316 GB, free: 15.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/0.2131, allocations: 285.5 kB / 0.6318 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.2133, allocations: 158.5 kB / 0.632 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.2134, allocations: 394.5 kB / 0.6324 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.2135, allocations: 92.77 kB / 0.6325 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.2137, allocations: 307.6 kB / 0.6328 GB, free: 14.42 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003184/0.214, allocations: 316.7 kB / 0.6331 GB, free: 14.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.214, allocations: 8.062 kB / 0.6331 GB, free: 14.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.000606/0.2146, allocations: 442.9 kB / 0.6335 GB, free: 13.65 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.2147, allocations: 7.984 kB / 0.6335 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.2147, allocations: 8.094 kB / 0.6335 GB, free: 13.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000375/0.215, allocations: 120.7 kB / 0.6336 GB, free: 13.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000332/0.2154, allocations: 167.7 kB / 0.6338 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009983/0.2164, allocations: 1.305 MB / 0.6351 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002587/0.2166, allocations: 81.5 kB / 0.6351 GB, free: 11.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.111e-05/0.2167, allocations: 23.97 kB / 0.6352 GB, free: 11.84 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (100): * Single equations (assignments): 99 * 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.0001806/0.2169, allocations: 166.5 kB / 0.6353 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.566e-05/0.2169, allocations: 79.86 kB / 0.6354 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007731/0.2177, allocations: 0.6148 MB / 0.636 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.2177, allocations: 11.94 kB / 0.636 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.2177, allocations: 4 kB / 0.636 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.2177, allocations: 7.969 kB / 0.636 GB, free: 10.94 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007101/0.2184, allocations: 461.9 kB / 0.6365 GB, free: 10.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.2184, allocations: 3.938 kB / 0.6365 GB, free: 10.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003099/0.2188, allocations: 147.8 kB / 0.6366 GB, free: 10.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002999/0.2191, allocations: 108.8 kB / 0.6367 GB, free: 10.21 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.601e-05/0.2191, allocations: 23.97 kB / 0.6367 GB, free: 10.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009384/0.22, allocations: 1.313 MB / 0.638 GB, free: 8.789 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.22, allocations: 3.984 kB / 0.638 GB, free: 8.785 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007911/0.2208, allocations: 0.6345 MB / 0.6386 GB, free: 8.125 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002077/0.221, allocations: 143.4 kB / 0.6388 GB, free: 7.984 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.588e-05/0.2211, allocations: 23.88 kB / 0.6388 GB, free: 7.961 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.2213, allocations: 43.95 kB / 0.6388 GB, free: 7.918 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.867e-05/0.2214, allocations: 72.8 kB / 0.6389 GB, free: 7.848 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.669e-05/0.2214, allocations: 28 kB / 0.6389 GB, free: 7.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002037/0.2217, allocations: 255.4 kB / 0.6392 GB, free: 7.57 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2217, allocations: 0 / 0.6392 GB, free: 7.57 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006982/0.2223, allocations: 347.1 kB / 0.6395 GB, free: 7.23 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * 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 (96): * Single equations (assignments): 90 * 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.001671/0.224, allocations: 0.7477 MB / 0.6402 GB, free: 6.816 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00067/0.2247, allocations: 0.4978 MB / 0.6407 GB, free: 6.305 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.2247, allocations: 8 kB / 0.6407 GB, free: 6.297 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003516/0.2251, allocations: 370.9 kB / 0.6411 GB, free: 5.922 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006332/0.2257, allocations: 311.4 kB / 0.6414 GB, free: 5.641 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002303/0.228, allocations: 1.646 MB / 0.643 GB, free: 3.957 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/0.2281, allocations: 194.8 kB / 0.6432 GB, free: 3.746 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003744/0.2285, allocations: 186.8 kB / 0.6433 GB, free: 3.559 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008046/0.2293, allocations: 315 kB / 0.6436 GB, free: 3.25 MB / 0.6042 GB Notification: Performance of SimCode: time 1.512e-06/0.2293, allocations: 3.938 kB / 0.6437 GB, free: 3.246 MB / 0.6042 GB Notification: Performance of Templates: time 0.02006/0.2494, allocations: 16.73 MB / 0.66 GB, free: 2.852 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.6580669190734625]