Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001014/0.001014, allocations: 77.95 kB / 20.66 MB, free: 3.836 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.001313/0.001313, allocations: 165 kB / 24.05 MB, free: 452 kB / 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.005/1.005, allocations: 177.1 MB / 204.5 MB, free: 5.527 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.7678/0.7678, allocations: 154.6 MB / 415.6 MB, free: 0.5508 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.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.504e-06/2.504e-06, allocations: 0 / 0.5215 GB, free: 1.941 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.094e-05/3.344e-05, allocations: 4.938 kB / 0.5215 GB, free: 1.938 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.005747/0.005781, allocations: 5.012 MB / 0.5264 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.1333/0.1391, allocations: 143.9 MB / 0.6669 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009271/0.14, allocations: 23.81 kB / 0.667 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005401/0.1405, allocations: 214 kB / 0.6672 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001451/0.142, allocations: 0.6094 MB / 0.6678 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001753/0.1437, allocations: 0.8724 MB / 0.6686 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001185/0.1449, allocations: 1.505 MB / 0.6701 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006071/0.1455, allocations: 410.7 kB / 0.6705 GB, free: 9.012 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008226/0.1463, allocations: 0.7952 MB / 0.6712 GB, free: 8.215 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005761/0.1469, allocations: 390.8 kB / 0.6716 GB, free: 7.832 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.147, allocations: 112 kB / 0.6717 GB, free: 7.723 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000774/0.1478, allocations: 495.3 kB / 0.6722 GB, free: 7.238 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002168/0.148, allocations: 302.9 kB / 0.6725 GB, free: 6.941 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000316/0.1484, allocations: 387 kB / 0.6729 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001387/0.1497, allocations: 1.276 MB / 0.6741 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1497, allocations: 0 / 0.6741 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of FrontEnd: time 9.72e-07/0.1497, allocations: 0 / 0.6741 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.1498, allocations: 0 / 0.6741 GB, free: 5.281 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.001749/0.1515, allocations: 1.55 MB / 0.6756 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1515, allocations: 15.95 kB / 0.6756 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.1526, allocations: 335.5 kB / 0.6759 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008667/0.1534, allocations: 0.7189 MB / 0.6766 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.669e-05/0.1535, allocations: 70.12 kB / 0.6767 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.1536, allocations: 91.98 kB / 0.6768 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009359/0.1546, allocations: 0.9007 MB / 0.6777 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.1546, allocations: 0 / 0.6777 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.232e-05/0.1546, allocations: 40 kB / 0.6777 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/0.1547, allocations: 23.98 kB / 0.6777 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000861/0.1555, allocations: 0.6923 MB / 0.6784 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3027/0.4582, allocations: 2.123 MB / 0.6805 GB, free: 58.12 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007632/0.459, allocations: 462.3 kB / 0.6809 GB, free: 58.08 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.4592, allocations: 155.3 kB / 0.6811 GB, free: 58.07 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.681e-05/0.4592, allocations: 28.67 kB / 0.6811 GB, free: 58.07 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004405/0.4596, allocations: 471.7 kB / 0.6816 GB, free: 57.86 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=85): time 4.087e-06/0.4597, allocations: 0 / 0.6816 GB, free: 57.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85): time 0.001643/0.4613, allocations: 0.7596 MB / 0.6823 GB, free: 57.79 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.4614, allocations: 192.8 kB / 0.6825 GB, free: 57.57 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005078/0.4619, allocations: 0.5797 MB / 0.6831 GB, free: 57.38 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.284e-05/0.4619, allocations: 42.98 kB / 0.6831 GB, free: 57.35 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002527/0.4622, allocations: 476.4 kB / 0.6835 GB, free: 57.14 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/0.4623, allocations: 291.5 kB / 0.6838 GB, free: 56.99 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000205/0.4625, allocations: 182.9 kB / 0.684 GB, free: 56.96 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.4626, allocations: 0.5685 MB / 0.6846 GB, free: 56.47 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.4628, allocations: 105.3 kB / 0.6847 GB, free: 56.47 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002717/0.4631, allocations: 348.2 kB / 0.685 GB, free: 56.24 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004418/0.4635, allocations: 329 kB / 0.6853 GB, free: 56.18 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.4635, allocations: 0.9375 kB / 0.6853 GB, free: 56.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001013/0.4645, allocations: 0.5971 MB / 0.6859 GB, free: 56.06 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.4646, allocations: 8.922 kB / 0.6859 GB, free: 56.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.4646, allocations: 0 / 0.6859 GB, free: 56.06 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005153/0.4651, allocations: 131 kB / 0.686 GB, free: 56.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004605/0.4655, allocations: 172.8 kB / 0.6862 GB, free: 56.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.4668, allocations: 1.869 MB / 0.688 GB, free: 54.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004171/0.4672, allocations: 78.42 kB / 0.6881 GB, free: 54.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-05/0.4673, allocations: 30.5 kB / 0.6881 GB, free: 54.3 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.0002998/0.4676, allocations: 209.1 kB / 0.6883 GB, free: 54.14 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.4678, allocations: 118.1 kB / 0.6884 GB, free: 54.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.469, allocations: 0.7779 MB / 0.6892 GB, free: 54 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.469, allocations: 8.688 kB / 0.6892 GB, free: 54 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.469, allocations: 0.8125 kB / 0.6892 GB, free: 54 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.469, allocations: 9.344 kB / 0.6892 GB, free: 54 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006223/0.4697, allocations: 0.4957 MB / 0.6897 GB, free: 53.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.4697, allocations: 3.281 kB / 0.6897 GB, free: 53.87 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004181/0.4701, allocations: 159.1 kB / 0.6898 GB, free: 53.87 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004369/0.4705, allocations: 116.4 kB / 0.69 GB, free: 53.85 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.995e-05/0.4706, allocations: 20.88 kB / 0.69 GB, free: 53.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001123/0.4717, allocations: 1.888 MB / 0.6918 GB, free: 52.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4717, allocations: 0 / 0.6918 GB, free: 52.12 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.473, allocations: 0.8368 MB / 0.6926 GB, free: 51.95 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003129/0.4733, allocations: 188.1 kB / 0.6928 GB, free: 51.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.778e-05/0.4734, allocations: 21.36 kB / 0.6928 GB, free: 51.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003053/0.4737, allocations: 36.5 kB / 0.6929 GB, free: 51.9 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.4739, allocations: 78.44 kB / 0.6929 GB, free: 51.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-05/0.4739, allocations: 33.39 kB / 0.693 GB, free: 51.9 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000321/0.4742, allocations: 378.5 kB / 0.6933 GB, free: 51.77 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.4742, allocations: 0.5469 kB / 0.6933 GB, free: 51.77 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009022/0.4751, allocations: 345.7 kB / 0.6937 GB, free: 51.74 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.001244/0.4764, allocations: 0.6164 MB / 0.6943 GB, free: 51.63 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007409/0.4771, allocations: 0.5992 MB / 0.6949 GB, free: 51.43 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4771, allocations: 2.734 kB / 0.6949 GB, free: 51.43 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003564/0.4775, allocations: 455.2 kB / 0.6953 GB, free: 51.23 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006412/0.4781, allocations: 325.1 kB / 0.6956 GB, free: 51.22 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00216/0.4803, allocations: 1.646 MB / 0.6972 GB, free: 50.49 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001142/0.4804, allocations: 199.2 kB / 0.6974 GB, free: 50.41 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000419/0.4808, allocations: 191.5 kB / 0.6976 GB, free: 50.36 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004857/0.4813, allocations: 369.5 kB / 0.6979 GB, free: 50.3 MB / 0.6355 GB Notification: Performance of SimCode: time 1.152e-06/0.4813, allocations: 1 kB / 0.6979 GB, free: 50.3 MB / 0.6355 GB Notification: Performance of Templates: time 0.02296/0.5043, allocations: 16.92 MB / 0.7145 GB, free: 48.71 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.892560807056725]