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.001937/0.001937, allocations: 93.47 kB / 19.44 MB, free: 336 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.002069/0.002069, allocations: 169.2 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.568/1.568, allocations: 177.1 MB / 203.1 MB, free: 5.258 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.345/1.345, allocations: 154.6 MB / 414.1 MB, free: 0.5703 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.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 1.733e-06/1.733e-06, allocations: 0 / 0.5196 GB, free: 2.535 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.327e-05/3.501e-05, allocations: 4.25 kB / 0.5196 GB, free: 2.531 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.00928/0.009315, allocations: 5.062 MB / 0.5246 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.2369/0.2462, allocations: 146.3 MB / 0.6675 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001399/0.2476, allocations: 27.81 kB / 0.6675 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007956/0.2484, allocations: 210 kB / 0.6677 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002585/0.251, allocations: 0.6017 MB / 0.6683 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002779/0.2538, allocations: 0.8647 MB / 0.6691 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003006/0.2568, allocations: 1.517 MB / 0.6706 GB, free: 7.535 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009604/0.2578, allocations: 414.7 kB / 0.671 GB, free: 7.113 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001525/0.2593, allocations: 0.7562 MB / 0.6717 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007669/0.2601, allocations: 418.8 kB / 0.6721 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002062/0.2603, allocations: 120 kB / 0.6722 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/0.2616, allocations: 0.4954 MB / 0.6727 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003879/0.262, allocations: 318.9 kB / 0.673 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005925/0.2626, allocations: 403 kB / 0.6734 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003187/0.2658, allocations: 1.838 MB / 0.6752 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2658, allocations: 4 kB / 0.6752 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2658, allocations: 0 / 0.6752 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.727e-05/0.2658, allocations: 0 / 0.6752 GB, free: 2.777 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.003628/0.2694, allocations: 1.656 MB / 0.6768 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.2695, allocations: 8.031 kB / 0.6768 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/0.2711, allocations: 327.6 kB / 0.6772 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4197/0.6908, allocations: 0.7472 MB / 0.6779 GB, free: 202 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/0.6909, allocations: 77.27 kB / 0.678 GB, free: 202 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003338/0.6912, allocations: 88.25 kB / 0.678 GB, free: 202 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/0.6929, allocations: 1.239 MB / 0.6793 GB, free: 201.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.042e-05/0.693, allocations: 2.906 kB / 0.6793 GB, free: 201.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.122e-05/0.6931, allocations: 38.62 kB / 0.6793 GB, free: 201.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/0.6931, allocations: 24.75 kB / 0.6793 GB, free: 201.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/0.6946, allocations: 1.045 MB / 0.6803 GB, free: 201.4 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004182/0.6988, allocations: 2.987 MB / 0.6833 GB, free: 199.7 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.7001, allocations: 0.7215 MB / 0.684 GB, free: 199.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004297/0.7006, allocations: 263.6 kB / 0.6842 GB, free: 199.4 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.698e-05/0.7006, allocations: 31.69 kB / 0.6842 GB, free: 199.4 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007997/0.7014, allocations: 0.6127 MB / 0.6848 GB, free: 199 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=85): time 2.555e-06/0.7014, allocations: 2.438 kB / 0.6848 GB, free: 199 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85): time 0.003031/0.7045, allocations: 1.092 MB / 0.6859 GB, free: 198.7 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.055e-05/0.7046, allocations: 193.3 kB / 0.6861 GB, free: 198.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008395/0.7054, allocations: 0.7803 MB / 0.6869 GB, free: 198.1 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.15e-05/0.7055, allocations: 43.42 kB / 0.6869 GB, free: 198 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003376/0.7058, allocations: 0.5025 MB / 0.6874 GB, free: 197.7 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002239/0.706, allocations: 309.9 kB / 0.6877 GB, free: 197.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002847/0.7063, allocations: 199.9 kB / 0.6879 GB, free: 197.4 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001978/0.7065, allocations: 0.6137 MB / 0.6885 GB, free: 196.8 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004309/0.7069, allocations: 230.2 kB / 0.6887 GB, free: 196.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005942/0.7075, allocations: 490.3 kB / 0.6892 GB, free: 196.4 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009463/0.7085, allocations: 0.5661 MB / 0.6897 GB, free: 196.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.7085, allocations: 2.625 kB / 0.6897 GB, free: 196.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001838/0.7103, allocations: 0.8307 MB / 0.6905 GB, free: 195.9 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.7103, allocations: 7.875 kB / 0.6905 GB, free: 195.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.128e-06/0.7103, allocations: 0 / 0.6905 GB, free: 195.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009387/0.7113, allocations: 138.4 kB / 0.6907 GB, free: 195.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006278/0.7119, allocations: 172 kB / 0.6908 GB, free: 195.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00196/0.7139, allocations: 2.03 MB / 0.6928 GB, free: 193.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006892/0.7146, allocations: 72.86 kB / 0.6929 GB, free: 193.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.317e-05/0.7146, allocations: 43.31 kB / 0.6929 GB, free: 193.9 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 (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.0004465/0.7151, allocations: 278.6 kB / 0.6932 GB, free: 193.6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002036/0.7153, allocations: 119.4 kB / 0.6933 GB, free: 193.6 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002097/0.7174, allocations: 1.019 MB / 0.6943 GB, free: 193.2 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.7174, allocations: 10.41 kB / 0.6943 GB, free: 193.2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.7174, allocations: 2.969 kB / 0.6943 GB, free: 193.2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.7174, allocations: 7.172 kB / 0.6943 GB, free: 193.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.7184, allocations: 0.7871 MB / 0.6951 GB, free: 192.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.7184, allocations: 0 / 0.6951 GB, free: 192.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005804/0.719, allocations: 159.2 kB / 0.6952 GB, free: 192.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007103/0.7197, allocations: 119.7 kB / 0.6953 GB, free: 192.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.431e-05/0.7198, allocations: 32.05 kB / 0.6954 GB, free: 192.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001605/0.7214, allocations: 2.056 MB / 0.6974 GB, free: 190.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.7214, allocations: 3.141 kB / 0.6974 GB, free: 190.9 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002321/0.7237, allocations: 1.272 MB / 0.6986 GB, free: 190.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004279/0.7241, allocations: 201.4 kB / 0.6988 GB, free: 190.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.7242, allocations: 22.22 kB / 0.6988 GB, free: 190.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004948/0.7247, allocations: 44.38 kB / 0.6989 GB, free: 190.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/0.7249, allocations: 76.84 kB / 0.699 GB, free: 190.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-05/0.725, allocations: 47.02 kB / 0.699 GB, free: 190.2 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005587/0.7255, allocations: 0.4951 MB / 0.6995 GB, free: 190 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7255, allocations: 2.984 kB / 0.6995 GB, free: 190 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009849/0.7265, allocations: 351.4 kB / 0.6998 GB, free: 189.9 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.003324/0.7298, allocations: 0.6522 MB / 0.7005 GB, free: 189.7 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001642/0.7315, allocations: 0.8548 MB / 0.7013 GB, free: 189.4 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.7315, allocations: 0 / 0.7013 GB, free: 189.4 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008471/0.7323, allocations: 0.5836 MB / 0.7019 GB, free: 189.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.7337, allocations: 330.6 kB / 0.7022 GB, free: 189 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003025/0.7367, allocations: 1.78 MB / 0.7039 GB, free: 188.1 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/0.7371, allocations: 456.5 kB / 0.7044 GB, free: 187.9 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0007286/0.7378, allocations: 250.8 kB / 0.7046 GB, free: 187.9 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/0.738, allocations: 110.1 kB / 0.7047 GB, free: 187.9 MB / 0.6355 GB Notification: Performance of SimCode: time 2.004e-06/0.738, allocations: 2.312 kB / 0.7047 GB, free: 187.9 MB / 0.6355 GB Notification: Performance of Templates: time 0.03037/0.7684, allocations: 15.61 MB / 0.7199 GB, free: 185.8 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: 7.741778809926473]