Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009981/0.0009981, allocations: 77.09 kB / 20.65 MB, free: 3.852 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.001005/0.001005, allocations: 165 kB / 24.05 MB, free: 464 kB / 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.9662/0.9662, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7826/0.7826, allocations: 154.9 MB / 415.9 MB, free: 276 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.5219 GB, free: 1.57 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.252e-05/2.387e-05, allocations: 2.312 kB / 0.5219 GB, free: 1.566 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.005666/0.00569, allocations: 5.01 MB / 0.5268 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.139/0.1447, allocations: 143.9 MB / 0.6673 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001204/0.1459, allocations: 23.81 kB / 0.6673 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006726/0.1466, allocations: 210 kB / 0.6675 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001655/0.1483, allocations: 0.6094 MB / 0.6681 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001942/0.1502, allocations: 0.8724 MB / 0.669 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001297/0.1515, allocations: 1.513 MB / 0.6704 GB, free: 9.055 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006327/0.1521, allocations: 406.8 kB / 0.6708 GB, free: 8.641 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009307/0.1531, allocations: 0.7952 MB / 0.6716 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004732/0.1535, allocations: 394.8 kB / 0.672 GB, free: 7.457 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001324/0.1537, allocations: 112 kB / 0.6721 GB, free: 7.348 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006591/0.1543, allocations: 491.4 kB / 0.6726 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002262/0.1546, allocations: 302.9 kB / 0.6728 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003297/0.1549, allocations: 386.9 kB / 0.6732 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001358/0.1563, allocations: 1.269 MB / 0.6745 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1563, allocations: 4 kB / 0.6745 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1563, allocations: 4 kB / 0.6745 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.308e-05/0.1563, allocations: 3.938 kB / 0.6745 GB, free: 4.906 MB / 0.6355 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.001877/0.1581, allocations: 1.558 MB / 0.676 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.1582, allocations: 12.03 kB / 0.676 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.1593, allocations: 335.5 kB / 0.6763 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008759/0.1601, allocations: 0.7149 MB / 0.677 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.394e-05/0.1602, allocations: 70.12 kB / 0.6771 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.1603, allocations: 88 kB / 0.6772 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009301/0.1612, allocations: 0.8968 MB / 0.678 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.1613, allocations: 0 / 0.678 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.585e-05/0.1613, allocations: 36 kB / 0.6781 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/0.1613, allocations: 24 kB / 0.6781 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008835/0.1622, allocations: 0.7001 MB / 0.6788 GB, free: 324 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3202/0.4824, allocations: 2.128 MB / 0.6809 GB, free: 57.98 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006163/0.4831, allocations: 460.7 kB / 0.6813 GB, free: 57.94 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.4832, allocations: 156.6 kB / 0.6815 GB, free: 57.93 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.934e-05/0.4833, allocations: 26.28 kB / 0.6815 GB, free: 57.93 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003657/0.4836, allocations: 477.6 kB / 0.6819 GB, free: 57.71 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=85): time 2.585e-06/0.4836, allocations: 1.781 kB / 0.6819 GB, free: 57.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85): time 0.001307/0.4849, allocations: 0.754 MB / 0.6827 GB, free: 57.61 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.485, allocations: 196.7 kB / 0.6829 GB, free: 57.39 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003559/0.4853, allocations: 0.5681 MB / 0.6834 GB, free: 57.21 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.574e-05/0.4854, allocations: 42.67 kB / 0.6835 GB, free: 57.18 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/0.4856, allocations: 482.8 kB / 0.6839 GB, free: 56.96 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.4857, allocations: 291.5 kB / 0.6842 GB, free: 56.81 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.4859, allocations: 179.4 kB / 0.6844 GB, free: 56.79 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.486, allocations: 0.5696 MB / 0.6849 GB, free: 56.29 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.4861, allocations: 105.2 kB / 0.685 GB, free: 56.29 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.4863, allocations: 351.5 kB / 0.6854 GB, free: 56.06 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003323/0.4866, allocations: 327.8 kB / 0.6857 GB, free: 56 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4866, allocations: 0.5625 kB / 0.6857 GB, free: 56 MB / 0.6355 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0007812/0.4874, allocations: 0.5943 MB / 0.6862 GB, free: 55.88 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.4874, allocations: 5.969 kB / 0.6863 GB, free: 55.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.4874, allocations: 3 kB / 0.6863 GB, free: 55.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004174/0.4879, allocations: 130.4 kB / 0.6864 GB, free: 55.87 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003586/0.4882, allocations: 174.6 kB / 0.6865 GB, free: 55.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001042/0.4893, allocations: 1.868 MB / 0.6884 GB, free: 54.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000309/0.4896, allocations: 71.25 kB / 0.6884 GB, free: 54.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.904e-05/0.4896, allocations: 30.69 kB / 0.6885 GB, free: 54.12 MB / 0.6355 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.000175/0.4898, allocations: 219.3 kB / 0.6887 GB, free: 53.96 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.4899, allocations: 110.7 kB / 0.6888 GB, free: 53.92 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009483/0.4908, allocations: 0.7795 MB / 0.6895 GB, free: 53.82 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.4909, allocations: 10.44 kB / 0.6896 GB, free: 53.82 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.4909, allocations: 2.188 kB / 0.6896 GB, free: 53.82 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.4909, allocations: 7.594 kB / 0.6896 GB, free: 53.82 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004581/0.4913, allocations: 0.4911 MB / 0.69 GB, free: 53.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.4913, allocations: 4.781 kB / 0.69 GB, free: 53.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003094/0.4916, allocations: 152.8 kB / 0.6902 GB, free: 53.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003298/0.492, allocations: 118 kB / 0.6903 GB, free: 53.67 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-05/0.492, allocations: 27.81 kB / 0.6903 GB, free: 53.67 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008078/0.4928, allocations: 1.888 MB / 0.6922 GB, free: 51.94 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4928, allocations: 0 / 0.6922 GB, free: 51.94 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009802/0.4938, allocations: 0.8267 MB / 0.693 GB, free: 51.77 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001982/0.494, allocations: 195.1 kB / 0.6932 GB, free: 51.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.404e-05/0.4941, allocations: 21.05 kB / 0.6932 GB, free: 51.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/0.4943, allocations: 43.08 kB / 0.6932 GB, free: 51.71 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.204e-05/0.4944, allocations: 73.92 kB / 0.6933 GB, free: 51.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.535e-05/0.4944, allocations: 25.75 kB / 0.6933 GB, free: 51.71 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001952/0.4946, allocations: 375.3 kB / 0.6937 GB, free: 51.58 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4946, allocations: 0 / 0.6937 GB, free: 51.58 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006898/0.4953, allocations: 349 kB / 0.694 GB, free: 51.55 MB / 0.6355 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.001403/0.4967, allocations: 0.6217 MB / 0.6946 GB, free: 51.45 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007135/0.4974, allocations: 0.5959 MB / 0.6952 GB, free: 51.24 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4974, allocations: 0.9688 kB / 0.6952 GB, free: 51.24 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003866/0.4978, allocations: 458.8 kB / 0.6956 GB, free: 51.05 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007931/0.4986, allocations: 327.9 kB / 0.696 GB, free: 51.03 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002839/0.5014, allocations: 1.656 MB / 0.6976 GB, free: 50.29 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/0.5016, allocations: 196.1 kB / 0.6978 GB, free: 50.21 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005322/0.5021, allocations: 189.6 kB / 0.6979 GB, free: 50.17 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005947/0.5027, allocations: 373.9 kB / 0.6983 GB, free: 50.11 MB / 0.6355 GB Notification: Performance of SimCode: time 1.102e-06/0.5027, allocations: 1.734 kB / 0.6983 GB, free: 50.11 MB / 0.6355 GB Notification: Performance of Templates: time 0.024/0.5267, allocations: 16.92 MB / 0.7148 GB, free: 48.51 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.864867981057614]