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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/package.mo", uses=false) Using package SolarTherm with version 0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(SolarTherm.Models.Sources.SolarModel.Sun,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3332,variableFilter="",fileNamePrefix="SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun") translateModel(SolarTherm.Models.Sources.SolarModel.Sun,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3332,variableFilter="",fileNamePrefix="SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00128/0.00128, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.1 MB / 221.8 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00107/0.00107, allocations: 104.2 kB / 269.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/package.mo): time 0.1793/0.1793, allocations: 23.45 MB / 340 MB, free: 1.508 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001777/0.001777, allocations: 55.31 kB / 402.7 MB, free: 55.1 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1273, allocations: 51.99 MB / 454.7 MB, free: 3.105 MB / 298.7 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.003538/0.1309, allocations: 1.616 MB / 456.3 MB, free: 1.469 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.132, allocations: 0.6591 MB / 457 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.4e-05/0.1321, allocations: 4 kB / 457 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.197e-05/0.1322, allocations: 0 / 457 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.399e-05/0.1323, allocations: 7.922 kB / 457 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004335/0.1327, allocations: 63.78 kB / 457.1 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.498e-05/0.1328, allocations: 27.81 kB / 457.1 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.267e-05/0.1329, allocations: 0 / 457.1 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.882e-05/0.1329, allocations: 8 kB / 457.1 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.603e-05/0.133, allocations: 15.92 kB / 457.1 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.133, allocations: 0 / 457.1 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003112/0.1333, allocations: 79.91 kB / 457.2 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.398e-05/0.1333, allocations: 0 / 457.2 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.689e-05/0.1334, allocations: 11.88 kB / 457.2 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.1336, allocations: 64.09 kB / 457.3 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.1336, allocations: 0 / 457.3 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1336, allocations: 3.938 kB / 457.3 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1336, allocations: 0 / 457.3 MB, free: 0.5195 MB / 298.7 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.0004708/0.1341, allocations: 343.4 kB / 457.6 MB, free: 140 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.996e-05/0.1341, allocations: 12.03 kB / 457.6 MB, free: 128 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.723e-05/0.1342, allocations: 8.844 kB / 457.6 MB, free: 120 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.1344, allocations: 172.3 kB / 457.8 MB, free: 15.91 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.1344, allocations: 384 / 457.8 MB, free: 15.91 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.1345, allocations: 4.375 kB / 457.8 MB, free: 15.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.1347, allocations: 55.72 kB / 457.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.1347, allocations: 3.938 kB / 457.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.1347, allocations: 0 / 457.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.1347, allocations: 0 / 457.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.528e-05/0.1348, allocations: 8 kB / 457.9 MB, free: 15.83 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005559/0.1353, allocations: 337.1 kB / 458.2 MB, free: 15.45 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.337e-05/0.1354, allocations: 41.09 kB / 458.2 MB, free: 15.39 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.822e-05/0.1355, allocations: 17.84 kB / 458.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006103/0.1361, allocations: 210.2 kB / 458.5 MB, free: 15.12 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.1362, allocations: 42.48 kB / 458.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.1362, allocations: 0 / 458.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002139/0.1364, allocations: 45.61 kB / 458.5 MB, free: 15.02 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/0.1365, allocations: 85.3 kB / 458.6 MB, free: 14.92 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.1366, allocations: 105.8 kB / 458.7 MB, free: 14.8 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.1366, allocations: 25.7 kB / 458.8 MB, free: 14.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.63e-05/0.1367, allocations: 84.14 kB / 458.8 MB, free: 14.69 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.379e-05/0.1367, allocations: 11.81 kB / 458.9 MB, free: 14.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/0.1368, allocations: 17.7 kB / 458.9 MB, free: 14.65 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1369, allocations: 314.8 kB / 459.2 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.75e-05/0.1369, allocations: 7.938 kB / 459.2 MB, free: 14.33 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.944e-05/0.1369, allocations: 21.7 kB / 459.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.282e-05/0.137, allocations: 21.72 kB / 459.2 MB, free: 14.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.137, allocations: 3.938 kB / 459.2 MB, free: 14.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.138e-05/0.1371, allocations: 45.69 kB / 459.3 MB, free: 14.22 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.1371, allocations: 4 kB / 459.3 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/0.1372, allocations: 8.281 kB / 459.3 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.1372, allocations: 4 kB / 459.3 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.461e-05/0.1372, allocations: 4 kB / 459.3 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.1373, allocations: 4 kB / 459.3 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.257e-05/0.1373, allocations: 3.938 kB / 459.3 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.1373, allocations: 0 / 459.3 MB, free: 14.19 MB / 314.7 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.0001179/0.1374, allocations: 121.7 kB / 459.4 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.789e-05/0.1375, allocations: 3.906 kB / 459.4 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001255/0.1376, allocations: 44.83 kB / 459.5 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.1376, allocations: 4 kB / 459.5 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.1377, allocations: 3.984 kB / 459.5 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.1377, allocations: 0 / 459.5 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003104/0.138, allocations: 266.5 kB / 459.7 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.138, allocations: 4 kB / 459.7 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.235e-05/0.138, allocations: 0 / 459.7 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.138, allocations: 0 / 459.7 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.138, allocations: 8 kB / 459.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.1381, allocations: 3.984 kB / 459.8 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1381, allocations: 4.062 kB / 459.8 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004921/0.1386, allocations: 0.7546 MB / 460.5 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.946e-05/0.1386, allocations: 84.95 kB / 460.6 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.1387, allocations: 3.984 kB / 460.6 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.25e-05/0.1387, allocations: 8.031 kB / 460.6 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.861e-05/0.1388, allocations: 0 / 460.6 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.1388, allocations: 0 / 460.6 MB, free: 12.74 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.771e-05/0.1389, allocations: 83.28 kB / 460.7 MB, free: 12.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1389, allocations: 0 / 460.7 MB, free: 12.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003841/0.1393, allocations: 20 kB / 460.7 MB, free: 12.64 MB / 314.7 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.0002269/0.1395, allocations: 131.1 kB / 460.8 MB, free: 12.5 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001367/0.1396, allocations: 41.77 kB / 460.9 MB, free: 12.46 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1397, allocations: 0 / 460.9 MB, free: 12.46 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.39e-05/0.1397, allocations: 33.69 kB / 460.9 MB, free: 12.42 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.14, allocations: 16.94 kB / 460.9 MB, free: 12.41 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004493/0.1405, allocations: 244.7 kB / 461.2 MB, free: 12.12 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.1408, allocations: 0.685 MB / 461.9 MB, free: 11.41 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.177e-05/0.1408, allocations: 3.938 kB / 461.9 MB, free: 11.41 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.713e-05/0.1408, allocations: 7.438 kB / 461.9 MB, free: 11.4 MB / 314.7 MB Notification: Performance of SimCode: time 3.11e-07/0.1408, allocations: 0 / 461.9 MB, free: 11.4 MB / 314.7 MB Notification: Performance of Templates: time 0.002843/0.1437, allocations: 0.5086 MB / 462.4 MB, free: 10.89 MB / 314.7 MB make -j1 -f SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.makefile (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)