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.002348/0.002348, allocations: 77.5 kB / 19.44 MB, free: 340 kB / 13.93 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.002914/0.002914, allocations: 169.2 kB / 22.76 MB, free: 1.656 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 1.587/1.587, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 1.411/1.411, allocations: 154.8 MB / 414.4 MB, free: 472 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 178] 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 2.124e-06/2.124e-06, allocations: 0 / 0.5198 GB, free: 2.332 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.796e-05/4.008e-05, allocations: 6.703 kB / 0.5198 GB, free: 2.328 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.009486/0.009526, allocations: 5.065 MB / 0.5248 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.2365/0.2461, allocations: 146.3 MB / 0.6677 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001321/0.2474, allocations: 23.88 kB / 0.6677 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007758/0.2481, allocations: 210 kB / 0.6679 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002419/0.2506, allocations: 0.5979 MB / 0.6685 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002582/0.2532, allocations: 0.8724 MB / 0.6694 GB, free: 8.859 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0024/0.2556, allocations: 1.513 MB / 0.6708 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008805/0.2564, allocations: 414.7 kB / 0.6712 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001403/0.2578, allocations: 0.764 MB / 0.672 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008042/0.2586, allocations: 414.8 kB / 0.6724 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002175/0.2589, allocations: 124 kB / 0.6725 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001523/0.2604, allocations: 0.4954 MB / 0.673 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003963/0.2608, allocations: 318.9 kB / 0.6733 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005639/0.2613, allocations: 402.9 kB / 0.6737 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003106/0.2644, allocations: 1.834 MB / 0.6755 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2645, allocations: 0 / 0.6755 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2645, allocations: 0 / 0.6755 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.995e-05/0.2645, allocations: 0 / 0.6755 GB, free: 2.578 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.003417/0.2679, allocations: 1.648 MB / 0.6771 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.2679, allocations: 8.031 kB / 0.6771 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001668/0.2696, allocations: 327.6 kB / 0.6774 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3049/0.5745, allocations: 0.7526 MB / 0.6781 GB, free: 202.1 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.649e-05/0.5746, allocations: 67.75 kB / 0.6782 GB, free: 202.1 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.5748, allocations: 92.66 kB / 0.6783 GB, free: 202.1 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001662/0.5764, allocations: 1.239 MB / 0.6795 GB, free: 201.4 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.165e-05/0.5765, allocations: 1.5 kB / 0.6795 GB, free: 201.4 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.702e-05/0.5765, allocations: 36.97 kB / 0.6795 GB, free: 201.4 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.717e-05/0.5766, allocations: 21.81 kB / 0.6795 GB, free: 201.4 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001517/0.5781, allocations: 1.045 MB / 0.6806 GB, free: 201.2 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004146/0.5822, allocations: 2.994 MB / 0.6835 GB, free: 199.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.5835, allocations: 0.7162 MB / 0.6842 GB, free: 199.2 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000423/0.584, allocations: 270.5 kB / 0.6844 GB, free: 199.1 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.803e-05/0.584, allocations: 31.95 kB / 0.6845 GB, free: 199.1 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008142/0.5848, allocations: 0.6133 MB / 0.6851 GB, free: 198.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=85): time 2.685e-06/0.5849, allocations: 1.531 kB / 0.6851 GB, free: 198.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85): time 0.003088/0.5879, allocations: 1.092 MB / 0.6861 GB, free: 198.4 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.605e-05/0.588, allocations: 196.3 kB / 0.6863 GB, free: 198.2 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008786/0.5889, allocations: 0.7783 MB / 0.6871 GB, free: 197.8 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.506e-05/0.5889, allocations: 44.67 kB / 0.6871 GB, free: 197.8 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003456/0.5893, allocations: 0.4986 MB / 0.6876 GB, free: 197.4 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002188/0.5895, allocations: 318.3 kB / 0.6879 GB, free: 197.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002608/0.5898, allocations: 193.4 kB / 0.6881 GB, free: 197.1 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001927/0.59, allocations: 0.6139 MB / 0.6887 GB, free: 196.6 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000428/0.5904, allocations: 229.5 kB / 0.6889 GB, free: 196.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005609/0.591, allocations: 494 kB / 0.6894 GB, free: 196.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009094/0.5919, allocations: 0.5669 MB / 0.6899 GB, free: 195.9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.5919, allocations: 0 / 0.6899 GB, free: 195.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001845/0.5937, allocations: 0.8307 MB / 0.6908 GB, free: 195.6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.5937, allocations: 7.625 kB / 0.6908 GB, free: 195.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.5937, allocations: 0 / 0.6908 GB, free: 195.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000938/0.5947, allocations: 138.7 kB / 0.6909 GB, free: 195.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006465/0.5953, allocations: 169.8 kB / 0.6911 GB, free: 195.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001921/0.5973, allocations: 2.023 MB / 0.693 GB, free: 193.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007605/0.598, allocations: 86.11 kB / 0.6931 GB, free: 193.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.001e-05/0.5981, allocations: 35.02 kB / 0.6931 GB, free: 193.6 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.conTim.canRepeatWeatherFile,weaDat.conTimMin.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.0004994/0.5986, allocations: 277.7 kB / 0.6934 GB, free: 193.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002113/0.5988, allocations: 115.9 kB / 0.6935 GB, free: 193.3 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002095/0.6009, allocations: 1.025 MB / 0.6945 GB, free: 193 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.6009, allocations: 8.375 kB / 0.6945 GB, free: 193 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.6009, allocations: 2.5 kB / 0.6945 GB, free: 193 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.6009, allocations: 3.375 kB / 0.6945 GB, free: 193 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.6019, allocations: 0.7911 MB / 0.6953 GB, free: 192.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.6019, allocations: 0 / 0.6953 GB, free: 192.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005967/0.6025, allocations: 161 kB / 0.6955 GB, free: 192.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007342/0.6032, allocations: 125.3 kB / 0.6956 GB, free: 192.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.646e-05/0.6033, allocations: 29.06 kB / 0.6956 GB, free: 192.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001661/0.605, allocations: 2.056 MB / 0.6976 GB, free: 190.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.605, allocations: 0.9688 kB / 0.6976 GB, free: 190.6 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002448/0.6074, allocations: 1.275 MB / 0.6989 GB, free: 190.1 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004781/0.6079, allocations: 204.1 kB / 0.6991 GB, free: 190 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.608, allocations: 21.06 kB / 0.6991 GB, free: 190 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005042/0.6085, allocations: 41.77 kB / 0.6991 GB, free: 190 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001731/0.6087, allocations: 85.62 kB / 0.6992 GB, free: 189.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.888e-05/0.6088, allocations: 38.36 kB / 0.6992 GB, free: 189.9 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005805/0.6093, allocations: 0.4939 MB / 0.6997 GB, free: 189.7 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9e-08/0.6093, allocations: 0 / 0.6997 GB, free: 189.7 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009846/0.6103, allocations: 350.8 kB / 0.7001 GB, free: 189.6 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.003333/0.6137, allocations: 0.6574 MB / 0.7007 GB, free: 189.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001701/0.6154, allocations: 0.8548 MB / 0.7015 GB, free: 189.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.6154, allocations: 1.094 kB / 0.7015 GB, free: 189.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008548/0.6162, allocations: 0.578 MB / 0.7021 GB, free: 188.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/0.6176, allocations: 336 kB / 0.7024 GB, free: 188.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003159/0.6207, allocations: 1.787 MB / 0.7042 GB, free: 187.8 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004237/0.6212, allocations: 455.6 kB / 0.7046 GB, free: 187.6 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0007866/0.6219, allocations: 259.6 kB / 0.7048 GB, free: 187.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002556/0.6222, allocations: 109.1 kB / 0.7049 GB, free: 187.6 MB / 0.6355 GB Notification: Performance of SimCode: time 2.004e-06/0.6222, allocations: 0.5469 kB / 0.7049 GB, free: 187.6 MB / 0.6355 GB Notification: Performance of Templates: time 0.03367/0.6559, allocations: 15.59 MB / 0.7202 GB, free: 185.4 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: 7.888843834982254]