Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.001027/0.001027, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001001/0.001001, allocations: 169 kB / 24.06 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 0.9891/0.9891, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.7533/0.7533, allocations: 154.6 MB / 415.6 MB, free: 0.5078 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.SimpleHouse0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.5215 GB, free: 1.922 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.538e-05/1.697e-05, allocations: 2.312 kB / 0.5215 GB, free: 1.918 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.004645/0.004662, allocations: 4.711 MB / 0.5261 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.1327/0.1373, allocations: 143.8 MB / 0.6665 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008327/0.1382, allocations: 23.81 kB / 0.6666 GB, free: 13 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005389/0.1387, allocations: 206.1 kB / 0.6668 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001356/0.1401, allocations: 0.5862 MB / 0.6673 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0014/0.1415, allocations: 0.8529 MB / 0.6682 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0008993/0.1424, allocations: 1.428 MB / 0.6696 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004698/0.1428, allocations: 385.9 kB / 0.6699 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006348/0.1435, allocations: 0.7561 MB / 0.6707 GB, free: 8.77 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003154/0.1438, allocations: 362.9 kB / 0.671 GB, free: 8.414 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.1439, allocations: 104 kB / 0.6711 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005264/0.1444, allocations: 495.3 kB / 0.6716 GB, free: 7.828 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000176/0.1446, allocations: 279 kB / 0.6719 GB, free: 7.555 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002405/0.1448, allocations: 371 kB / 0.6722 GB, free: 7.191 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.1458, allocations: 1.21 MB / 0.6734 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1458, allocations: 0 / 0.6734 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1458, allocations: 0 / 0.6734 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.256e-05/0.1458, allocations: 0 / 0.6734 GB, free: 5.977 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.001394/0.1472, allocations: 1.503 MB / 0.6749 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.1473, allocations: 12.03 kB / 0.6749 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007585/0.148, allocations: 319.6 kB / 0.6752 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006442/0.1487, allocations: 0.6993 MB / 0.6759 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.362e-05/0.1487, allocations: 70.12 kB / 0.6759 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.406e-05/0.1488, allocations: 80 kB / 0.676 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000702/0.1495, allocations: 0.8731 MB / 0.6768 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.1495, allocations: 4 kB / 0.6769 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.803e-05/0.1496, allocations: 32 kB / 0.6769 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.1496, allocations: 20 kB / 0.6769 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006163/0.1502, allocations: 0.6766 MB / 0.6776 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3192/0.4693, allocations: 2.161 MB / 0.6797 GB, free: 57.97 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005877/0.4699, allocations: 419.4 kB / 0.6801 GB, free: 57.94 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.4701, allocations: 150.1 kB / 0.6802 GB, free: 57.93 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.623e-05/0.4701, allocations: 31.52 kB / 0.6802 GB, free: 57.93 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003377/0.4705, allocations: 441.9 kB / 0.6807 GB, free: 57.71 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=78): time 1.994e-06/0.4705, allocations: 3.312 kB / 0.6807 GB, free: 57.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=78): time 0.001305/0.4718, allocations: 0.7006 MB / 0.6814 GB, free: 57.66 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.4718, allocations: 194.9 kB / 0.6815 GB, free: 57.44 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003196/0.4721, allocations: 0.5649 MB / 0.6821 GB, free: 57.26 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.254e-05/0.4722, allocations: 41.17 kB / 0.6821 GB, free: 57.23 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001974/0.4724, allocations: 467.1 kB / 0.6826 GB, free: 57.07 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.4725, allocations: 267.1 kB / 0.6828 GB, free: 56.93 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/0.4726, allocations: 167.5 kB / 0.683 GB, free: 56.9 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.4727, allocations: 0.5705 MB / 0.6835 GB, free: 56.41 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.4729, allocations: 95.36 kB / 0.6836 GB, free: 56.41 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.4731, allocations: 348.3 kB / 0.684 GB, free: 56.18 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003/0.4734, allocations: 322.2 kB / 0.6843 GB, free: 56.11 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4734, allocations: 0 / 0.6843 GB, free: 56.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0006894/0.4741, allocations: 0.5669 MB / 0.6848 GB, free: 55.99 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.4741, allocations: 6.812 kB / 0.6848 GB, free: 55.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.4741, allocations: 0 / 0.6848 GB, free: 55.99 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004212/0.4745, allocations: 136.2 kB / 0.685 GB, free: 55.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003097/0.4748, allocations: 149.9 kB / 0.6851 GB, free: 55.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/0.4758, allocations: 1.876 MB / 0.6869 GB, free: 54.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002605/0.4761, allocations: 71.25 kB / 0.687 GB, free: 54.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.562e-05/0.4761, allocations: 30.7 kB / 0.687 GB, free: 54.23 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (93): * Single equations (assignments): 92 * 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.0001629/0.4763, allocations: 210.2 kB / 0.6872 GB, free: 54.07 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.4764, allocations: 111.1 kB / 0.6873 GB, free: 54.03 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008949/0.4773, allocations: 0.7455 MB / 0.6881 GB, free: 53.93 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.4773, allocations: 13.92 kB / 0.6881 GB, free: 53.93 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.4773, allocations: 3.297 kB / 0.6881 GB, free: 53.93 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.4773, allocations: 6.609 kB / 0.6881 GB, free: 53.93 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004257/0.4777, allocations: 482.3 kB / 0.6886 GB, free: 53.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/0.4777, allocations: 0.6875 kB / 0.6886 GB, free: 53.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002515/0.478, allocations: 134.3 kB / 0.6887 GB, free: 53.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003201/0.4783, allocations: 119.4 kB / 0.6888 GB, free: 53.79 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.8e-05/0.4783, allocations: 23.41 kB / 0.6888 GB, free: 53.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007871/0.4791, allocations: 1.894 MB / 0.6907 GB, free: 52.06 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4791, allocations: 0 / 0.6907 GB, free: 52.06 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00071/0.4798, allocations: 0.6653 MB / 0.6913 GB, free: 51.89 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001852/0.48, allocations: 184.5 kB / 0.6915 GB, free: 51.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.232e-05/0.4801, allocations: 17.81 kB / 0.6915 GB, free: 51.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.4803, allocations: 37.5 kB / 0.6916 GB, free: 51.85 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.816e-05/0.4804, allocations: 71.11 kB / 0.6916 GB, free: 51.85 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.559e-05/0.4804, allocations: 28 kB / 0.6916 GB, free: 51.85 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001682/0.4806, allocations: 365.5 kB / 0.692 GB, free: 51.71 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4806, allocations: 0.9375 kB / 0.692 GB, free: 51.71 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005591/0.4811, allocations: 333.1 kB / 0.6923 GB, free: 51.69 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (89): * Single equations (assignments): 83 * 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.001136/0.4822, allocations: 0.6192 MB / 0.6929 GB, free: 51.58 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005612/0.4828, allocations: 0.5766 MB / 0.6935 GB, free: 51.37 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.4828, allocations: 3.281 kB / 0.6935 GB, free: 51.37 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000312/0.4831, allocations: 441.2 kB / 0.6939 GB, free: 51.18 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006284/0.4838, allocations: 323.8 kB / 0.6942 GB, free: 51.16 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.4855, allocations: 1.504 MB / 0.6957 GB, free: 50.46 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.56e-05/0.4856, allocations: 188.6 kB / 0.6959 GB, free: 50.39 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003367/0.4859, allocations: 182.9 kB / 0.696 GB, free: 50.35 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004641/0.4864, allocations: 361 kB / 0.6964 GB, free: 50.29 MB / 0.6355 GB Notification: Performance of SimCode: time 6.41e-07/0.4864, allocations: 0 / 0.6964 GB, free: 50.29 MB / 0.6355 GB Notification: Performance of Templates: time 0.01781/0.5042, allocations: 16.47 MB / 0.7125 GB, free: 48.77 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.871839893050492]