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.00101/0.00101, allocations: 81.92 kB / 19.87 MB, free: 4.621 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.001058/0.001058, allocations: 173.7 kB / 23.27 MB, free: 1.227 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.9994/0.9994, allocations: 177.1 MB / 203.7 MB, free: 5.527 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.8222/0.8222, allocations: 154.9 MB / 415.1 MB, free: 280 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.853e-06/1.853e-06, allocations: 0 / 0.5211 GB, free: 1.562 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.098e-05/2.283e-05, allocations: 5.406 kB / 0.5211 GB, free: 1.559 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.006268/0.006291, allocations: 4.999 MB / 0.526 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.15/0.1563, allocations: 143.9 MB / 0.6665 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001118/0.1574, allocations: 23.88 kB / 0.6665 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005501/0.158, allocations: 214 kB / 0.6667 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001551/0.1595, allocations: 0.621 MB / 0.6673 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001556/0.1611, allocations: 0.8607 MB / 0.6682 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001116/0.1622, allocations: 1.513 MB / 0.6697 GB, free: 9.07 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004985/0.1627, allocations: 414.8 kB / 0.6701 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006604/0.1634, allocations: 0.7913 MB / 0.6708 GB, free: 7.855 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000329/0.1637, allocations: 394.8 kB / 0.6712 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001054/0.1638, allocations: 108 kB / 0.6713 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005803/0.1644, allocations: 487.4 kB / 0.6718 GB, free: 6.887 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000174/0.1646, allocations: 302.9 kB / 0.6721 GB, free: 6.59 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002452/0.1648, allocations: 394.9 kB / 0.6724 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.1659, allocations: 1.265 MB / 0.6737 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1659, allocations: 0 / 0.6737 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1659, allocations: 4 kB / 0.6737 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.1659, allocations: 3.938 kB / 0.6737 GB, free: 4.926 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.001459/0.1674, allocations: 1.562 MB / 0.6752 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.1674, allocations: 8.031 kB / 0.6752 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007594/0.1682, allocations: 339.5 kB / 0.6755 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006838/0.1689, allocations: 0.715 MB / 0.6762 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.519e-05/0.1689, allocations: 70.12 kB / 0.6763 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.83e-05/0.169, allocations: 88 kB / 0.6764 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008822/0.1699, allocations: 0.8929 MB / 0.6773 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.1699, allocations: 7.984 kB / 0.6773 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.474e-05/0.17, allocations: 39.98 kB / 0.6773 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.17, allocations: 20 kB / 0.6773 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006156/0.1706, allocations: 0.7 MB / 0.678 GB, free: 332 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3229/0.4935, allocations: 2.125 MB / 0.6801 GB, free: 58.05 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007067/0.4942, allocations: 466.3 kB / 0.6805 GB, free: 58 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.4943, allocations: 155 kB / 0.6807 GB, free: 57.99 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.733e-05/0.4944, allocations: 51.97 kB / 0.6807 GB, free: 57.99 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004205/0.4948, allocations: 474.7 kB / 0.6812 GB, free: 57.78 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=85): time 4.718e-06/0.4948, allocations: 0 / 0.6812 GB, free: 57.78 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85): time 0.001413/0.4962, allocations: 0.7607 MB / 0.6819 GB, free: 57.67 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.4963, allocations: 189.8 kB / 0.6821 GB, free: 57.45 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004176/0.4967, allocations: 0.5734 MB / 0.6827 GB, free: 57.27 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.73e-05/0.4968, allocations: 49.86 kB / 0.6827 GB, free: 57.24 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/0.497, allocations: 473.5 kB / 0.6832 GB, free: 57.02 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.4972, allocations: 290.4 kB / 0.6834 GB, free: 56.88 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001718/0.4973, allocations: 175 kB / 0.6836 GB, free: 56.85 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.4974, allocations: 0.5722 MB / 0.6842 GB, free: 56.35 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.4976, allocations: 109.7 kB / 0.6843 GB, free: 56.35 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002384/0.4978, allocations: 346.5 kB / 0.6846 GB, free: 56.12 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003526/0.4982, allocations: 330 kB / 0.6849 GB, free: 56.06 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.4982, allocations: 3.188 kB / 0.6849 GB, free: 56.06 MB / 0.6355 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0008331/0.499, allocations: 0.5966 MB / 0.6855 GB, free: 55.95 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.499, allocations: 5.594 kB / 0.6855 GB, free: 55.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.4991, allocations: 0 / 0.6855 GB, free: 55.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004258/0.4995, allocations: 129.4 kB / 0.6856 GB, free: 55.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003541/0.4998, allocations: 170.4 kB / 0.6858 GB, free: 55.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/0.5011, allocations: 1.874 MB / 0.6876 GB, free: 54.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000327/0.5014, allocations: 72.64 kB / 0.6877 GB, free: 54.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.226e-05/0.5014, allocations: 31.05 kB / 0.6877 GB, free: 54.18 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.0002188/0.5017, allocations: 209.7 kB / 0.6879 GB, free: 54.02 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.5018, allocations: 112.8 kB / 0.688 GB, free: 53.98 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.5028, allocations: 0.7845 MB / 0.6888 GB, free: 53.88 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.5028, allocations: 8.375 kB / 0.6888 GB, free: 53.88 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.5028, allocations: 5.969 kB / 0.6888 GB, free: 53.88 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.5028, allocations: 4.266 kB / 0.6888 GB, free: 53.88 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005339/0.5033, allocations: 0.4921 MB / 0.6893 GB, free: 53.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.5034, allocations: 7.5 kB / 0.6893 GB, free: 53.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000306/0.5037, allocations: 149.4 kB / 0.6894 GB, free: 53.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003474/0.504, allocations: 120.1 kB / 0.6896 GB, free: 53.73 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.828e-05/0.5041, allocations: 25.72 kB / 0.6896 GB, free: 53.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008948/0.505, allocations: 1.886 MB / 0.6914 GB, free: 52 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.505, allocations: 0.9062 kB / 0.6914 GB, free: 52 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009671/0.5059, allocations: 0.8309 MB / 0.6922 GB, free: 51.83 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002174/0.5061, allocations: 192.9 kB / 0.6924 GB, free: 51.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.102e-05/0.5062, allocations: 22.52 kB / 0.6924 GB, free: 51.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.5064, allocations: 40.2 kB / 0.6925 GB, free: 51.78 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.991e-05/0.5065, allocations: 74.41 kB / 0.6925 GB, free: 51.78 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-05/0.5066, allocations: 32.45 kB / 0.6926 GB, free: 51.77 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002179/0.5068, allocations: 373.3 kB / 0.6929 GB, free: 51.64 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5068, allocations: 1.094 kB / 0.6929 GB, free: 51.64 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006959/0.5075, allocations: 347.6 kB / 0.6933 GB, free: 51.61 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.001206/0.5087, allocations: 0.617 MB / 0.6939 GB, free: 51.49 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006877/0.5094, allocations: 0.5993 MB / 0.6945 GB, free: 51.29 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.5094, allocations: 1.812 kB / 0.6945 GB, free: 51.29 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003463/0.5097, allocations: 456.8 kB / 0.6949 GB, free: 51.09 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000674/0.5104, allocations: 331.2 kB / 0.6952 GB, free: 51.07 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/0.5129, allocations: 1.651 MB / 0.6968 GB, free: 50.33 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/0.5131, allocations: 201.3 kB / 0.697 GB, free: 50.25 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005105/0.5136, allocations: 193.1 kB / 0.6972 GB, free: 50.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005286/0.5141, allocations: 372.7 kB / 0.6976 GB, free: 50.14 MB / 0.6355 GB Notification: Performance of SimCode: time 1.703e-06/0.5141, allocations: 0.7812 kB / 0.6976 GB, free: 50.14 MB / 0.6355 GB Notification: Performance of Templates: time 0.02718/0.5413, allocations: 16.69 MB / 0.7139 GB, free: 48.63 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.843524206895381]