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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 107 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 207.6 MB / 231.9 MB, free: 3.25 MB / 174.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/package.mo): time 0.1838/0.1838, allocations: 25.05 MB / 309 MB, free: 6.184 MB / 254.1 MB [Timeout remaining time 90] 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.002177/0.002177, allocations: 67.56 kB / 434.9 MB, free: 5.102 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1157, allocations: 55.03 MB / 489.9 MB, free: 6.887 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.002852/0.1186, allocations: 1.567 MB / 491.5 MB, free: 5.305 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.1198, allocations: 0.6604 MB / 492.1 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.765e-05/0.1198, allocations: 3.938 kB / 492.1 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.059e-05/0.1199, allocations: 0 / 492.1 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.17e-05/0.1199, allocations: 3.938 kB / 492.2 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003959/0.1203, allocations: 87.59 kB / 492.2 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.819e-05/0.1204, allocations: 19.92 kB / 492.3 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.262e-05/0.1204, allocations: 4 kB / 492.3 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.15e-05/0.1204, allocations: 8 kB / 492.3 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.53e-05/0.1205, allocations: 15.92 kB / 492.3 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.087e-06/0.1205, allocations: 0 / 492.3 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002622/0.1207, allocations: 71.84 kB / 492.4 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.409e-05/0.1208, allocations: 7.938 kB / 492.4 MB, free: 4.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.749e-05/0.1208, allocations: 7.938 kB / 492.4 MB, free: 4.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.121, allocations: 67.8 kB / 492.4 MB, free: 4.344 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.121, allocations: 0 / 492.4 MB, free: 4.344 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.121, allocations: 0 / 492.4 MB, free: 4.344 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.121, allocations: 0 / 492.4 MB, free: 4.344 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.0004365/0.1214, allocations: 351.3 kB / 492.8 MB, free: 3.953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.1215, allocations: 8.031 kB / 492.8 MB, free: 3.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.224e-05/0.1215, allocations: 16.83 kB / 492.8 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.1216, allocations: 168.3 kB / 493 MB, free: 3.727 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.1216, allocations: 4.375 kB / 493 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.1217, allocations: 384 / 493 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.1218, allocations: 55.72 kB / 493 MB, free: 3.656 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.1218, allocations: 0 / 493 MB, free: 3.656 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1218, allocations: 8 kB / 493 MB, free: 3.648 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.1218, allocations: 0 / 493 MB, free: 3.648 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.844e-05/0.1218, allocations: 7.938 kB / 493 MB, free: 3.641 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004404/0.1223, allocations: 333 kB / 493.4 MB, free: 3.262 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.738e-05/0.1224, allocations: 53.19 kB / 493.4 MB, free: 3.191 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.005e-05/0.1224, allocations: 17.78 kB / 493.4 MB, free: 3.168 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005019/0.1229, allocations: 206.2 kB / 493.6 MB, free: 2.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.1229, allocations: 34.56 kB / 493.7 MB, free: 2.887 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.1229, allocations: 0 / 493.7 MB, free: 2.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002034/0.1231, allocations: 57.62 kB / 493.7 MB, free: 2.824 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.1232, allocations: 77.11 kB / 493.8 MB, free: 2.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.532e-05/0.1233, allocations: 101.8 kB / 493.9 MB, free: 2.621 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.1233, allocations: 25.7 kB / 493.9 MB, free: 2.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.865e-05/0.1234, allocations: 96.03 kB / 494 MB, free: 2.492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.066e-05/0.1234, allocations: 7.891 kB / 494 MB, free: 2.484 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/0.1234, allocations: 21.66 kB / 494.1 MB, free: 2.457 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1236, allocations: 323 kB / 494.4 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.483e-05/0.1236, allocations: 4 kB / 494.4 MB, free: 2.129 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.291e-05/0.1236, allocations: 17.72 kB / 494.4 MB, free: 2.105 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.758e-05/0.1236, allocations: 17.72 kB / 494.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1236, allocations: 4 kB / 494.4 MB, free: 2.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.775e-05/0.1237, allocations: 49.61 kB / 494.5 MB, free: 2.023 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.1237, allocations: 12.09 kB / 494.5 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.1237, allocations: 0 / 494.5 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.1238, allocations: 0 / 494.5 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.451e-05/0.1238, allocations: 4 kB / 494.5 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1238, allocations: 3.984 kB / 494.5 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.579e-05/0.1238, allocations: 0 / 494.5 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/0.1238, allocations: 4 kB / 494.5 MB, free: 2 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 8.373e-05/0.1239, allocations: 113.8 kB / 494.6 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.819e-05/0.1239, allocations: 3.984 kB / 494.6 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.1241, allocations: 52.77 kB / 494.6 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1241, allocations: 0 / 494.6 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1241, allocations: 0 / 494.6 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1241, allocations: 0 / 494.6 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003031/0.1244, allocations: 274.8 kB / 494.9 MB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.1244, allocations: 7.938 kB / 494.9 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.31e-05/0.1244, allocations: 7.938 kB / 494.9 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1244, allocations: 0 / 494.9 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.1244, allocations: 0 / 494.9 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.1244, allocations: 4.062 kB / 494.9 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1244, allocations: 0 / 494.9 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001597/0.1246, allocations: 222.7 kB / 495.2 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.29e-05/0.1246, allocations: 85.09 kB / 495.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.1246, allocations: 0 / 495.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.995e-05/0.1247, allocations: 0 / 495.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.29e-05/0.1247, allocations: 11.97 kB / 495.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.1247, allocations: 0 / 495.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.888e-05/0.1248, allocations: 83.28 kB / 495.3 MB, free: 1.047 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1248, allocations: 7.875 kB / 495.3 MB, free: 1.039 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002845/0.1251, allocations: 27.86 kB / 495.4 MB, free: 1.012 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.0002061/0.1253, allocations: 115.2 kB / 495.5 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001275/0.1254, allocations: 41.69 kB / 495.5 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1254, allocations: 128 / 495.5 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.633e-05/0.1254, allocations: 41.64 kB / 495.6 MB, free: 0.793 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.1257, allocations: 0 / 495.6 MB, free: 0.793 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000362/0.1261, allocations: 161.7 kB / 495.7 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.1264, allocations: 0.6807 MB / 496.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.626e-05/0.1265, allocations: 7.438 kB / 496.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1265, allocations: 128 / 496.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of Templates: time 0.002602/0.1291, allocations: 0.7264 MB / 497.1 MB, free: 15.16 MB / 366.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]