Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.001638/0.001638, allocations: 92.22 kB / 19.65 MB, free: 276 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.001553/0.001553, allocations: 173 kB / 23.02 MB, free: 1.547 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.973/0.973, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.8369/0.8369, allocations: 154.9 MB / 414.8 MB, free: 388 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.SimpleHouse1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.5207 GB, free: 1.852 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.688e-05/2.899e-05, allocations: 4.141 kB / 0.5207 GB, free: 1.848 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.00802/0.008049, allocations: 5.022 MB / 0.5256 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.1488/0.1569, allocations: 146.6 MB / 0.6687 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009803/0.1579, allocations: 23.81 kB / 0.6687 GB, free: 9.859 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006493/0.1585, allocations: 210.1 kB / 0.6689 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001623/0.1601, allocations: 0.6056 MB / 0.6695 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002057/0.1622, allocations: 0.8568 MB / 0.6704 GB, free: 8.184 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001381/0.1636, allocations: 1.478 MB / 0.6718 GB, free: 6.695 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006365/0.1642, allocations: 398.2 kB / 0.6722 GB, free: 6.289 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001007/0.1652, allocations: 0.7795 MB / 0.6729 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004397/0.1656, allocations: 386.8 kB / 0.6733 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001227/0.1658, allocations: 108 kB / 0.6734 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007716/0.1665, allocations: 491.4 kB / 0.6739 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002078/0.1668, allocations: 298.9 kB / 0.6742 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002848/0.167, allocations: 375 kB / 0.6745 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001486/0.1685, allocations: 1.245 MB / 0.6757 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1685, allocations: 3.938 kB / 0.6757 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.675e-06/0.1685, allocations: 0 / 0.6757 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.524e-05/0.1686, allocations: 3.938 kB / 0.6758 GB, free: 2.625 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002346/0.1709, allocations: 1.523 MB / 0.6772 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.1709, allocations: 12.03 kB / 0.6773 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008843/0.1718, allocations: 331.5 kB / 0.6776 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3153/0.4871, allocations: 0.7173 MB / 0.6783 GB, free: 56.53 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.157e-05/0.4872, allocations: 73.91 kB / 0.6783 GB, free: 56.53 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001841/0.4874, allocations: 85.53 kB / 0.6784 GB, free: 56.53 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.4884, allocations: 0.941 MB / 0.6793 GB, free: 56.1 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.4884, allocations: 0 / 0.6793 GB, free: 56.1 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.039e-05/0.4885, allocations: 36.94 kB / 0.6794 GB, free: 56.1 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.4885, allocations: 26.94 kB / 0.6794 GB, free: 56.09 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007722/0.4893, allocations: 0.7931 MB / 0.6802 GB, free: 56.08 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002245/0.4915, allocations: 2.216 MB / 0.6823 GB, free: 55.25 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006748/0.4922, allocations: 478.8 kB / 0.6828 GB, free: 55.21 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.4924, allocations: 178.2 kB / 0.683 GB, free: 55.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.098e-05/0.4925, allocations: 31.42 kB / 0.683 GB, free: 55.2 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004028/0.4929, allocations: 477.2 kB / 0.6835 GB, free: 54.98 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=82): time 2.956e-06/0.4929, allocations: 0.875 kB / 0.6835 GB, free: 54.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=82): time 0.001454/0.4943, allocations: 0.8048 MB / 0.6842 GB, free: 54.88 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.4944, allocations: 195.3 kB / 0.6844 GB, free: 54.66 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004342/0.4948, allocations: 0.581 MB / 0.685 GB, free: 54.47 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.54e-05/0.4948, allocations: 44.72 kB / 0.685 GB, free: 54.44 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/0.495, allocations: 470.2 kB / 0.6855 GB, free: 54.23 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.4952, allocations: 274.3 kB / 0.6857 GB, free: 54.09 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.4953, allocations: 172.4 kB / 0.6859 GB, free: 54.06 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.59e-05/0.4954, allocations: 0.5627 MB / 0.6865 GB, free: 53.57 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.4956, allocations: 130.7 kB / 0.6866 GB, free: 53.57 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002625/0.4959, allocations: 361.8 kB / 0.6869 GB, free: 53.35 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004379/0.4963, allocations: 375 kB / 0.6873 GB, free: 53.29 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4963, allocations: 0.5469 kB / 0.6873 GB, free: 53.29 MB / 0.6355 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0008827/0.4972, allocations: 0.64 MB / 0.6879 GB, free: 53.17 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.4972, allocations: 6.312 kB / 0.6879 GB, free: 53.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.4972, allocations: 3 kB / 0.6879 GB, free: 53.17 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004486/0.4976, allocations: 134.8 kB / 0.688 GB, free: 53.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003362/0.498, allocations: 165.9 kB / 0.6882 GB, free: 53.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001098/0.4991, allocations: 1.9 MB / 0.6901 GB, free: 51.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002975/0.4994, allocations: 74.05 kB / 0.6901 GB, free: 51.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.847e-05/0.4994, allocations: 39.47 kB / 0.6902 GB, free: 51.39 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 (97): * Single equations (assignments): 96 * 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.4996, allocations: 209.3 kB / 0.6904 GB, free: 51.23 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.4997, allocations: 108.8 kB / 0.6905 GB, free: 51.18 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001043/0.5008, allocations: 0.8257 MB / 0.6913 GB, free: 51.09 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.5008, allocations: 8.719 kB / 0.6913 GB, free: 51.09 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.5008, allocations: 0.8125 kB / 0.6913 GB, free: 51.09 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.5008, allocations: 10.05 kB / 0.6913 GB, free: 51.09 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004708/0.5012, allocations: 0.5865 MB / 0.6919 GB, free: 50.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.5012, allocations: 2.781 kB / 0.6919 GB, free: 50.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005282/0.5018, allocations: 151.9 kB / 0.692 GB, free: 50.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004698/0.5022, allocations: 115.1 kB / 0.6921 GB, free: 50.92 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.269e-05/0.5023, allocations: 28.7 kB / 0.6922 GB, free: 50.92 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/0.5034, allocations: 1.918 MB / 0.694 GB, free: 49.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.5034, allocations: 2.625 kB / 0.694 GB, free: 49.16 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/0.5048, allocations: 0.9022 MB / 0.6949 GB, free: 48.98 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003287/0.5052, allocations: 187.2 kB / 0.6951 GB, free: 48.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.5053, allocations: 19.67 kB / 0.6951 GB, free: 48.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003158/0.5056, allocations: 50.62 kB / 0.6952 GB, free: 48.93 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.5057, allocations: 70.53 kB / 0.6952 GB, free: 48.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-05/0.5058, allocations: 36 kB / 0.6953 GB, free: 48.93 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003607/0.5061, allocations: 391.5 kB / 0.6956 GB, free: 48.79 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5061, allocations: 0.5938 kB / 0.6956 GB, free: 48.79 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000835/0.507, allocations: 343.9 kB / 0.696 GB, free: 48.77 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 (93): * Single equations (assignments): 87 * 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.001502/0.5085, allocations: 0.622 MB / 0.6966 GB, free: 48.65 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001051/0.5095, allocations: 0.6446 MB / 0.6972 GB, free: 48.45 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.5095, allocations: 2.5 kB / 0.6972 GB, free: 48.45 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005174/0.5101, allocations: 473.2 kB / 0.6977 GB, free: 48.26 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008857/0.5109, allocations: 320.3 kB / 0.698 GB, free: 48.24 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002933/0.5139, allocations: 1.618 MB / 0.6995 GB, free: 47.52 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.514, allocations: 191 kB / 0.6997 GB, free: 47.43 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006194/0.5146, allocations: 257.7 kB / 0.7 GB, free: 47.39 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/0.5148, allocations: 110.8 kB / 0.7001 GB, free: 47.38 MB / 0.6355 GB Notification: Performance of SimCode: time 1.132e-06/0.5148, allocations: 0.875 kB / 0.7001 GB, free: 47.38 MB / 0.6355 GB Notification: Performance of Templates: time 0.02909/0.5439, allocations: 16.16 MB / 0.7159 GB, free: 45.79 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.919776543974876]