Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 108 kB / 16.4 MB, free: 6.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 199.8 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 205.1 MB / 227.2 MB, free: 12.14 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/package.mo): time 0.2852/0.2852, allocations: 24.84 MB / 301.4 MB, free: 1.027 MB / 238.1 MB " [Timeout remaining time 180] Using package SolarTherm with version 0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(SolarTherm.Models.Sources.SolarModel.Sun,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1666,variableFilter="",fileNamePrefix="SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun") translateModel(SolarTherm.Models.Sources.SolarModel.Sun,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1666,variableFilter="",fileNamePrefix="SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002197/0.002197, allocations: 67.56 kB / 421 MB, free: 32.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1199, allocations: 52.29 MB / 473.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.003916/0.1238, allocations: 1.571 MB / 474.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.1255, allocations: 0.6523 MB / 475.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.231e-05/0.1256, allocations: 0 / 475.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.202e-05/0.1256, allocations: 7.938 kB / 475.5 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.029e-05/0.1257, allocations: 3.938 kB / 475.5 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004896/0.1262, allocations: 83.66 kB / 475.6 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.502e-05/0.1263, allocations: 27.86 kB / 475.6 MB, free: 9.668 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.616e-05/0.1264, allocations: 7.984 kB / 475.6 MB, free: 9.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.034e-05/0.1264, allocations: 4 kB / 475.7 MB, free: 9.656 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.499e-05/0.1265, allocations: 15.92 kB / 475.7 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.1265, allocations: 0 / 475.7 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003464/0.1269, allocations: 63.88 kB / 475.7 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.201e-05/0.1269, allocations: 11.92 kB / 475.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.961e-05/0.127, allocations: 11.92 kB / 475.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.1272, allocations: 59.81 kB / 475.8 MB, free: 9.496 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.1272, allocations: 8 kB / 475.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1272, allocations: 0 / 475.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1272, allocations: 0 / 475.8 MB, free: 9.488 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005419/0.1278, allocations: 343.3 kB / 476.2 MB, free: 9.105 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.1278, allocations: 12.02 kB / 476.2 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.968e-05/0.1279, allocations: 4.938 kB / 476.2 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.1281, allocations: 168.3 kB / 476.3 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.1281, allocations: 384 / 476.3 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.1282, allocations: 4.375 kB / 476.3 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.1284, allocations: 63.72 kB / 476.4 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.1284, allocations: 0 / 476.4 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.1284, allocations: 4 kB / 476.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1284, allocations: 0 / 476.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.551e-05/0.1285, allocations: 7.938 kB / 476.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005445/0.129, allocations: 333 kB / 476.7 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.1291, allocations: 57.14 kB / 476.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.008e-05/0.1292, allocations: 13.78 kB / 476.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006558/0.1299, allocations: 214.2 kB / 477 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.1299, allocations: 38.56 kB / 477.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.1299, allocations: 0 / 477.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002557/0.1302, allocations: 49.62 kB / 477.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.546e-05/0.1303, allocations: 81.11 kB / 477.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.1304, allocations: 101.8 kB / 477.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.1304, allocations: 25.7 kB / 477.3 MB, free: 7.738 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.26e-05/0.1305, allocations: 92.28 kB / 477.4 MB, free: 7.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.408e-05/0.1305, allocations: 11.95 kB / 477.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.778e-05/0.1306, allocations: 13.72 kB / 477.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.1308, allocations: 318.8 kB / 477.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.928e-05/0.1308, allocations: 7.938 kB / 477.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.447e-05/0.1309, allocations: 21.66 kB / 477.8 MB, free: 7.258 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.064e-05/0.1309, allocations: 21.75 kB / 477.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1309, allocations: 0 / 477.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001023/0.131, allocations: 49.58 kB / 477.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.1311, allocations: 8 kB / 477.8 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.1311, allocations: 0 / 477.8 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.1311, allocations: 0 / 477.8 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.544e-05/0.1312, allocations: 4 kB / 477.8 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.1312, allocations: 0 / 477.8 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.745e-05/0.1312, allocations: 7.938 kB / 477.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.1312, allocations: 48 / 477.9 MB, free: 7.156 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001067/0.1313, allocations: 117.8 kB / 478 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.809e-05/0.1314, allocations: 3.984 kB / 478 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.1315, allocations: 52.75 kB / 478 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.1316, allocations: 0 / 478 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1316, allocations: 0 / 478 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1316, allocations: 0 / 478 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003987/0.132, allocations: 270.6 kB / 478.3 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.132, allocations: 4.062 kB / 478.3 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.455e-05/0.132, allocations: 4 kB / 478.3 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.132, allocations: 0 / 478.3 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.1321, allocations: 0 / 478.3 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.1321, allocations: 0 / 478.3 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1321, allocations: 3.938 kB / 478.3 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002131/0.1323, allocations: 222.7 kB / 478.5 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.478e-05/0.1324, allocations: 85.14 kB / 478.6 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.1324, allocations: 3.984 kB / 478.6 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.1325, allocations: 256 / 478.6 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.81e-05/0.1326, allocations: 7.938 kB / 478.6 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-06/0.1326, allocations: 4 kB / 478.6 MB, free: 6.289 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.158e-05/0.1327, allocations: 83.28 kB / 478.7 MB, free: 6.207 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1327, allocations: 3.938 kB / 478.7 MB, free: 6.203 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004539/0.1331, allocations: 19.88 kB / 478.7 MB, free: 6.184 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002594/0.1334, allocations: 127.1 kB / 478.8 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001686/0.1336, allocations: 41.64 kB / 478.9 MB, free: 6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1336, allocations: 0 / 478.9 MB, free: 6 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.706e-05/0.1337, allocations: 37.69 kB / 478.9 MB, free: 5.957 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.1341, allocations: 0 / 478.9 MB, free: 5.957 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000437/0.1346, allocations: 148.2 kB / 479.1 MB, free: 5.781 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.135, allocations: 0.6846 MB / 479.8 MB, free: 5.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.165e-05/0.135, allocations: 3.938 kB / 479.8 MB, free: 5.066 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.916e-05/0.135, allocations: 7.438 kB / 479.8 MB, free: 5.059 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.135, allocations: 0 / 479.8 MB, free: 5.059 MB / 350.1 MB Notification: Performance of Templates: time 0.004203/0.1392, allocations: 0.5202 MB / 480.3 MB, free: 4.539 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.makefile [Timeout 660] (rm -f SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.pipe ; mkfifo SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.pipe ; head -c 1048576 < SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.pipe >> ../files/SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.sim & ./SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun -abortSlowSimulation -alarm=480 -lv LOG_STATS > SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.218919570557773]