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.001842/0.001842, allocations: 85.48 kB / 19.44 MB, free: 344 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.002276/0.002276, allocations: 173.6 kB / 22.76 MB, free: 1.664 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.571/1.571, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 1.312/1.312, allocations: 154.6 MB / 414.2 MB, free: 0.6523 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 178] 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 3.186e-06/3.186e-06, allocations: 0.5469 kB / 0.5196 GB, free: 2.555 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.198e-05/5.516e-05, allocations: 2.906 kB / 0.5196 GB, free: 2.551 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.01143/0.01148, allocations: 4.949 MB / 0.5244 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.2362/0.2477, allocations: 146.3 MB / 0.6673 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001169/0.2488, allocations: 27.81 kB / 0.6673 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007661/0.2496, allocations: 206.1 kB / 0.6675 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002355/0.252, allocations: 0.5979 MB / 0.6681 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002469/0.2544, allocations: 0.8608 MB / 0.669 GB, free: 9.242 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002271/0.2567, allocations: 1.486 MB / 0.6704 GB, free: 7.75 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008811/0.2576, allocations: 402.2 kB / 0.6708 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001362/0.2589, allocations: 0.7445 MB / 0.6715 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007136/0.2597, allocations: 410.8 kB / 0.6719 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002119/0.2599, allocations: 120 kB / 0.672 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001476/0.2613, allocations: 0.4915 MB / 0.6725 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003825/0.2617, allocations: 314.9 kB / 0.6728 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005683/0.2623, allocations: 395 kB / 0.6732 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002933/0.2652, allocations: 1.803 MB / 0.6749 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.2652, allocations: 0 / 0.6749 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2652, allocations: 0 / 0.6749 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.869e-05/0.2653, allocations: 0 / 0.6749 GB, free: 3.078 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.003297/0.2685, allocations: 1.617 MB / 0.6765 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.2686, allocations: 16.02 kB / 0.6765 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001597/0.2702, allocations: 331.5 kB / 0.6769 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/0.2717, allocations: 0.7442 MB / 0.6776 GB, free: 312 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.648e-05/0.2718, allocations: 74.12 kB / 0.6776 GB, free: 240 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/0.2719, allocations: 84 kB / 0.6777 GB, free: 156 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.41/0.6819, allocations: 1.222 MB / 0.6789 GB, free: 201.8 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.127e-05/0.682, allocations: 0 / 0.6789 GB, free: 201.8 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.051e-05/0.6821, allocations: 38.03 kB / 0.679 GB, free: 201.8 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.117e-05/0.6821, allocations: 20.25 kB / 0.679 GB, free: 201.8 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001618/0.6837, allocations: 1.029 MB / 0.68 GB, free: 201.6 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004703/0.6884, allocations: 2.944 MB / 0.6829 GB, free: 199.9 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/0.6898, allocations: 0.699 MB / 0.6835 GB, free: 199.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004748/0.6903, allocations: 250.1 kB / 0.6838 GB, free: 199.6 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/0.6904, allocations: 28.2 kB / 0.6838 GB, free: 199.6 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009985/0.6914, allocations: 0.5921 MB / 0.6844 GB, free: 199.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=82): time 4.598e-06/0.6914, allocations: 1.469 kB / 0.6844 GB, free: 199.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=82): time 0.003375/0.6948, allocations: 1.054 MB / 0.6854 GB, free: 198.9 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/0.6949, allocations: 193.9 kB / 0.6856 GB, free: 198.7 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/0.696, allocations: 0.7645 MB / 0.6863 GB, free: 198.3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.409e-05/0.6961, allocations: 47.14 kB / 0.6864 GB, free: 198.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004539/0.6965, allocations: 496.1 kB / 0.6869 GB, free: 197.9 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003003/0.6968, allocations: 298.2 kB / 0.6871 GB, free: 197.7 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000312/0.6971, allocations: 204.1 kB / 0.6873 GB, free: 197.6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0003325/0.6975, allocations: 0.6109 MB / 0.6879 GB, free: 197.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004778/0.698, allocations: 221.4 kB / 0.6882 GB, free: 197 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006213/0.6986, allocations: 489.3 kB / 0.6886 GB, free: 196.7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.6996, allocations: 0.5427 MB / 0.6891 GB, free: 196.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.259e-06/0.6996, allocations: 0 / 0.6891 GB, free: 196.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002081/0.7017, allocations: 0.8105 MB / 0.6899 GB, free: 196.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.7017, allocations: 5.656 kB / 0.6899 GB, free: 196.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.7017, allocations: 0 / 0.6899 GB, free: 196.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001001/0.7027, allocations: 139.5 kB / 0.6901 GB, free: 196.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006453/0.7034, allocations: 168.7 kB / 0.6902 GB, free: 196.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00223/0.7056, allocations: 2.028 MB / 0.6922 GB, free: 194.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007598/0.7064, allocations: 79.06 kB / 0.6923 GB, free: 194.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.403e-05/0.7064, allocations: 40.38 kB / 0.6923 GB, free: 194.2 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.000548/0.707, allocations: 272.6 kB / 0.6926 GB, free: 193.9 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002201/0.7072, allocations: 111.3 kB / 0.6927 GB, free: 193.9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002187/0.7094, allocations: 0.9936 MB / 0.6937 GB, free: 193.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.7094, allocations: 9.281 kB / 0.6937 GB, free: 193.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.7094, allocations: 0 / 0.6937 GB, free: 193.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.495e-05/0.7094, allocations: 15.17 kB / 0.6937 GB, free: 193.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.7105, allocations: 0.7749 MB / 0.6944 GB, free: 193.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.7105, allocations: 0 / 0.6944 GB, free: 193.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005709/0.7111, allocations: 154.5 kB / 0.6946 GB, free: 193.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007266/0.7118, allocations: 124.2 kB / 0.6947 GB, free: 193.1 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.779e-05/0.7119, allocations: 26.7 kB / 0.6947 GB, free: 193.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001777/0.7136, allocations: 2.053 MB / 0.6967 GB, free: 191.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.7136, allocations: 1.484 kB / 0.6967 GB, free: 191.2 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002384/0.716, allocations: 1.242 MB / 0.698 GB, free: 190.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004503/0.7165, allocations: 201.9 kB / 0.6982 GB, free: 190.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.7166, allocations: 17.78 kB / 0.6982 GB, free: 190.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004844/0.7171, allocations: 45.7 kB / 0.6982 GB, free: 190.6 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001815/0.7173, allocations: 76.7 kB / 0.6983 GB, free: 190.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.208e-05/0.7173, allocations: 37.23 kB / 0.6983 GB, free: 190.5 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000628/0.718, allocations: 0.4912 MB / 0.6988 GB, free: 190.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9e-08/0.718, allocations: 0 / 0.6988 GB, free: 190.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001082/0.7191, allocations: 346.6 kB / 0.6991 GB, free: 190.2 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.00346/0.7225, allocations: 0.6541 MB / 0.6998 GB, free: 190.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001927/0.7244, allocations: 0.8421 MB / 0.7006 GB, free: 189.7 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.405e-06/0.7244, allocations: 2.844 kB / 0.7006 GB, free: 189.7 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0009289/0.7254, allocations: 0.5598 MB / 0.7011 GB, free: 189.4 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/0.7269, allocations: 336.3 kB / 0.7015 GB, free: 189.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003768/0.7307, allocations: 1.72 MB / 0.7031 GB, free: 188.4 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005612/0.7312, allocations: 448.2 kB / 0.7036 GB, free: 188.3 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001063/0.7323, allocations: 249.2 kB / 0.7038 GB, free: 188.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003094/0.7326, allocations: 111.3 kB / 0.7039 GB, free: 188.2 MB / 0.6355 GB Notification: Performance of SimCode: time 2.725e-06/0.7326, allocations: 0 / 0.7039 GB, free: 188.2 MB / 0.6355 GB Notification: Performance of Templates: time 0.03648/0.7691, allocations: 15.43 MB / 0.719 GB, free: 186.3 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: 7.698275660048239]