Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009688/0.0009688, allocations: 93.06 kB / 19.65 MB, free: 280 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.001591/0.001591, allocations: 165 kB / 23.02 MB, free: 1.551 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.059/1.059, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.8784/0.8784, allocations: 154.6 MB / 414.5 MB, free: 0.6836 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.SimpleHouse1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 0.5203 GB, free: 2.262 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.119e-05/3.307e-05, allocations: 7.281 kB / 0.5203 GB, free: 2.254 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.006134/0.006167, allocations: 5.011 MB / 0.5252 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.1475/0.1537, allocations: 146.6 MB / 0.6683 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009198/0.1546, allocations: 23.81 kB / 0.6684 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006109/0.1552, allocations: 206.1 kB / 0.6686 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001713/0.1569, allocations: 0.594 MB / 0.6691 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001733/0.1586, allocations: 0.8685 MB / 0.67 GB, free: 8.602 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001536/0.1602, allocations: 1.486 MB / 0.6714 GB, free: 7.109 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000667/0.1608, allocations: 398.3 kB / 0.6718 GB, free: 6.703 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009564/0.1618, allocations: 0.7445 MB / 0.6725 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004837/0.1623, allocations: 406.8 kB / 0.6729 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.1624, allocations: 120 kB / 0.673 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009703/0.1634, allocations: 0.4954 MB / 0.6735 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002377/0.1636, allocations: 310.9 kB / 0.6738 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003033/0.1639, allocations: 399 kB / 0.6742 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001506/0.1654, allocations: 1.288 MB / 0.6755 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1654, allocations: 0 / 0.6755 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.843e-06/0.1654, allocations: 0 / 0.6755 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.958e-06/0.1654, allocations: 0 / 0.6755 GB, free: 2.957 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.001728/0.1672, allocations: 1.531 MB / 0.677 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.1672, allocations: 11.97 kB / 0.677 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008891/0.1681, allocations: 327.6 kB / 0.6773 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008555/0.1689, allocations: 0.7286 MB / 0.678 GB, free: 300 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.651e-05/0.169, allocations: 70.12 kB / 0.6781 GB, free: 232 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/0.1692, allocations: 88 kB / 0.6781 GB, free: 144 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3021/0.4713, allocations: 1.01 MB / 0.6791 GB, free: 56.39 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.225e-05/0.4714, allocations: 2.812 kB / 0.6791 GB, free: 56.39 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.946e-05/0.4714, allocations: 41.88 kB / 0.6792 GB, free: 56.39 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.219e-05/0.4714, allocations: 21.28 kB / 0.6792 GB, free: 56.39 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009576/0.4724, allocations: 0.7978 MB / 0.68 GB, free: 56.39 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002596/0.475, allocations: 2.238 MB / 0.6822 GB, free: 55.55 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007624/0.4758, allocations: 495.2 kB / 0.6826 GB, free: 55.51 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002149/0.476, allocations: 161.8 kB / 0.6828 GB, free: 55.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.87e-05/0.476, allocations: 28.77 kB / 0.6828 GB, free: 55.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004529/0.4765, allocations: 493.5 kB / 0.6833 GB, free: 55.29 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=82): time 3.487e-06/0.4765, allocations: 0 / 0.6833 GB, free: 55.29 MB / 0.6355 GB Notification: Performance of matching and sorting (n=82): time 0.001586/0.4781, allocations: 0.8139 MB / 0.6841 GB, free: 55.18 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.4781, allocations: 191.9 kB / 0.6843 GB, free: 54.96 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004564/0.4786, allocations: 0.5912 MB / 0.6848 GB, free: 54.77 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.622e-05/0.4786, allocations: 43.23 kB / 0.6849 GB, free: 54.74 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001905/0.4788, allocations: 468.4 kB / 0.6853 GB, free: 54.53 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.4789, allocations: 278.3 kB / 0.6856 GB, free: 54.38 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/0.4791, allocations: 172.1 kB / 0.6858 GB, free: 54.36 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.4792, allocations: 0.557 MB / 0.6863 GB, free: 53.86 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002118/0.4794, allocations: 132.6 kB / 0.6864 GB, free: 53.86 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002865/0.4797, allocations: 375 kB / 0.6868 GB, free: 53.64 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004623/0.4802, allocations: 376.5 kB / 0.6871 GB, free: 53.58 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.4802, allocations: 1.938 kB / 0.6871 GB, free: 53.58 MB / 0.6355 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0009336/0.4811, allocations: 0.6422 MB / 0.6878 GB, free: 53.46 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.4811, allocations: 7.938 kB / 0.6878 GB, free: 53.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.4811, allocations: 1.344 kB / 0.6878 GB, free: 53.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004804/0.4816, allocations: 126.5 kB / 0.6879 GB, free: 53.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003572/0.482, allocations: 166.7 kB / 0.6881 GB, free: 53.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/0.4832, allocations: 1.901 MB / 0.6899 GB, free: 51.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003229/0.4835, allocations: 76.56 kB / 0.69 GB, free: 51.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.353e-05/0.4835, allocations: 37.72 kB / 0.69 GB, free: 51.68 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.0001875/0.4837, allocations: 208.5 kB / 0.6902 GB, free: 51.52 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.4838, allocations: 111.2 kB / 0.6903 GB, free: 51.48 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/0.4849, allocations: 0.8295 MB / 0.6911 GB, free: 51.38 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/0.4849, allocations: 11.56 kB / 0.6911 GB, free: 51.38 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.4849, allocations: 0 / 0.6911 GB, free: 51.38 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.4849, allocations: 9.469 kB / 0.6912 GB, free: 51.38 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005337/0.4855, allocations: 0.5962 MB / 0.6917 GB, free: 51.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.4855, allocations: 0 / 0.6917 GB, free: 51.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003183/0.4858, allocations: 148.4 kB / 0.6919 GB, free: 51.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003655/0.4862, allocations: 114.5 kB / 0.692 GB, free: 51.22 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.352e-05/0.4862, allocations: 24.31 kB / 0.692 GB, free: 51.22 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009116/0.4871, allocations: 1.93 MB / 0.6939 GB, free: 49.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4871, allocations: 0 / 0.6939 GB, free: 49.46 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.4883, allocations: 0.9095 MB / 0.6948 GB, free: 49.29 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002497/0.4886, allocations: 200.2 kB / 0.695 GB, free: 49.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.595e-05/0.4886, allocations: 22.86 kB / 0.695 GB, free: 49.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002397/0.4889, allocations: 49.31 kB / 0.695 GB, free: 49.24 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.489, allocations: 76.52 kB / 0.6951 GB, free: 49.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-05/0.489, allocations: 35.47 kB / 0.6952 GB, free: 49.23 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002856/0.4893, allocations: 402.3 kB / 0.6955 GB, free: 49.1 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4893, allocations: 1.156 kB / 0.6955 GB, free: 49.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006658/0.49, allocations: 343.9 kB / 0.6959 GB, free: 49.07 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.001272/0.4913, allocations: 0.6198 MB / 0.6965 GB, free: 48.97 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008847/0.4921, allocations: 0.6467 MB / 0.6971 GB, free: 48.76 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.4921, allocations: 3.844 kB / 0.6971 GB, free: 48.76 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004312/0.4926, allocations: 476.5 kB / 0.6976 GB, free: 48.57 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007164/0.4933, allocations: 329.7 kB / 0.6979 GB, free: 48.55 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002856/0.4961, allocations: 1.619 MB / 0.6995 GB, free: 47.83 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001489/0.4963, allocations: 196.4 kB / 0.6996 GB, free: 47.75 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000667/0.497, allocations: 249.5 kB / 0.6999 GB, free: 47.71 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002287/0.4972, allocations: 111.5 kB / 0.7 GB, free: 47.7 MB / 0.6355 GB Notification: Performance of SimCode: time 2.605e-06/0.4972, allocations: 0 / 0.7 GB, free: 47.7 MB / 0.6355 GB Notification: Performance of Templates: time 0.02343/0.5206, allocations: 15.45 MB / 0.7151 GB, free: 46.23 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.147072806023061]