Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.03041/0.03041, allocations: 5.394 MB / 22.36 MB, free: 0.7188 MB / 14.72 MB " [Timeout remaining time 180] 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.001209/0.001209, allocations: 109.3 kB / 26.38 MB, free: 4.539 MB / 19.63 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.00144/0.00144, allocations: 190.5 kB / 30.51 MB, free: 460 kB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 257.4 MB, free: 14.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009183/0.009183, allocations: 2.321 MB / 313.1 MB, free: 3.293 MB / 238.1 MB " [Timeout remaining time 180] Using package PhotoVoltaics_TGM with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo) Running command: translateModel(PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704") translateModel(PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002709/0.002709, allocations: 99.83 kB / 431 MB, free: 2.293 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2489, allocations: 51.2 MB / 482.2 MB, free: 22.97 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704): time 0.006457/0.2554, allocations: 6.782 MB / 489 MB, free: 17.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00463/0.26, allocations: 3.126 MB / 492.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007367/0.2608, allocations: 17.38 kB / 492.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002221/0.263, allocations: 1.1 MB / 493.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001596/0.2646, allocations: 0.8438 MB / 494.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.2661, allocations: 0.5407 MB / 494.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001323/0.2674, allocations: 1.386 MB / 496 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001211/0.2687, allocations: 1.028 MB / 497.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006509/0.2693, allocations: 0.5581 MB / 497.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006937/0.27, allocations: 0.7136 MB / 498.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00018/0.2702, allocations: 146.9 kB / 498.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007952/0.271, allocations: 434 kB / 498.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001757/0.2712, allocations: 293.8 kB / 499.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005862/0.2718, allocations: 0.6399 MB / 499.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001929/0.2737, allocations: 1.752 MB / 0.4898 GB, free: 9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2737, allocations: 0.6562 kB / 0.4898 GB, free: 9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.2738, allocations: 0 / 0.4898 GB, free: 9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.928e-05/0.2738, allocations: 0 / 0.4898 GB, free: 9 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: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.003703/0.2775, allocations: 1.801 MB / 0.4916 GB, free: 7.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.2775, allocations: 8.25 kB / 0.4916 GB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001971/0.2795, allocations: 377.5 kB / 0.492 GB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001369/0.2809, allocations: 0.7646 MB / 0.4927 GB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.232e-05/0.281, allocations: 86 kB / 0.4928 GB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.2811, allocations: 104 kB / 0.4929 GB, free: 6.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001675/0.2828, allocations: 1.176 MB / 0.494 GB, free: 5.289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/0.2828, allocations: 0 / 0.494 GB, free: 5.289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.354e-05/0.2829, allocations: 47.98 kB / 0.4941 GB, free: 5.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.2829, allocations: 24 kB / 0.4941 GB, free: 5.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001805/0.2847, allocations: 1.05 MB / 0.4951 GB, free: 4.172 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005022/0.2898, allocations: 4.37 MB / 0.4994 GB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003054/0.2929, allocations: 1.777 MB / 0.5011 GB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007989/0.2937, allocations: 363.4 kB / 0.5015 GB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001857/0.2939, allocations: 174.7 kB / 0.5016 GB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/0.2949, allocations: 0.5513 MB / 0.5022 GB, free: 12.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 2.304e-06/0.2949, allocations: 0 / 0.5022 GB, free: 12.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=79): time 0.006002/0.3009, allocations: 1.706 MB / 0.5039 GB, free: 10.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001987/0.3011, allocations: 285.6 kB / 0.5041 GB, free: 10.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007928/0.3019, allocations: 0.5536 MB / 0.5047 GB, free: 9.797 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.478e-05/0.302, allocations: 49.69 kB / 0.5047 GB, free: 9.742 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004428/0.3024, allocations: 0.4922 MB / 0.5052 GB, free: 9.242 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002537/0.3027, allocations: 265.8 kB / 0.5054 GB, free: 8.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003359/0.303, allocations: 210.8 kB / 0.5056 GB, free: 8.766 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002084/0.3033, allocations: 386.8 kB / 0.506 GB, free: 8.379 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007552/0.304, allocations: 322.4 kB / 0.5063 GB, free: 8.066 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009934/0.305, allocations: 0.5721 MB / 0.5069 GB, free: 7.398 MB / 366.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.01741/0.3224, allocations: 3.627 MB / 0.5104 GB, free: 3.605 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/0.3225, allocations: 4 kB / 0.5104 GB, free: 3.602 MB / 366.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00269/0.3252, allocations: 1.21 MB / 0.5116 GB, free: 2.363 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.656e-05/0.3253, allocations: 95.7 kB / 0.5117 GB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.3253, allocations: 4 kB / 0.5117 GB, free: 2.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004424/0.3257, allocations: 93.03 kB / 0.5118 GB, free: 2.156 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.3268, allocations: 251.5 kB / 0.512 GB, free: 1.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/0.3285, allocations: 1.582 MB / 0.5136 GB, free: 192 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009698/0.3295, allocations: 119.4 kB / 0.5137 GB, free: 72 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.551e-05/0.3296, allocations: 51.97 kB / 0.5137 GB, free: 20 kB / 366.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $PRE.irradiance.daysOfYear = PhotoVoltaics.Functions.dayOfTheYear(31, 12, irradiance.startYear). Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 27 (writeCSV.firstTrigger,$PRE.writeCSV.firstTrigger,irradiance.year,$PRE.irradiance.year,mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,writeCSV.sampleTrigger,$whenCondition4,mpTracker.sampleTrigger,$whenCondition1,irradiance.localDays,irradiance.daysOfYear,$PRE.irradiance.daysOfYear,irradiance.dayOfYear,$PRE.irradiance.dayOfYear,irradiance.startDayOfYear,$PRE.irradiance.startDayOfYear,mpTracker.vRef,$PRE.mpTracker.vRef,$whenCondition3,$whenCondition2,integrator.local_reset,converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005841/0.3302, allocations: 378.8 kB / 0.5141 GB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.3303, allocations: 83.48 kB / 0.5142 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002673/0.333, allocations: 1.257 MB / 0.5154 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.968e-06/0.333, allocations: 8 kB / 0.5154 GB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.3331, allocations: 0 / 0.5154 GB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.3331, allocations: 3.984 kB / 0.5154 GB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006369/0.3394, allocations: 2.551 MB / 0.5179 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.3395, allocations: 0 / 0.5179 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005676/0.34, allocations: 135.8 kB / 0.518 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008098/0.3409, allocations: 334.2 kB / 0.5184 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.858e-05/0.341, allocations: 31.97 kB / 0.5184 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001361/0.3423, allocations: 0.8935 MB / 0.5193 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.3423, allocations: 0 / 0.5193 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005579/0.3479, allocations: 1.925 MB / 0.5211 GB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004019/0.3483, allocations: 240.3 kB / 0.5214 GB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/0.3485, allocations: 35.92 kB / 0.5214 GB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000638/0.3491, allocations: 51.97 kB / 0.5215 GB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.3493, allocations: 56.58 kB / 0.5215 GB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.753e-05/0.3494, allocations: 43.95 kB / 0.5216 GB, free: 7.773 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005136/0.3499, allocations: 390.8 kB / 0.5219 GB, free: 7.391 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3499, allocations: 0 / 0.5219 GB, free: 7.391 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009925/0.3509, allocations: 343.2 kB / 0.5223 GB, free: 7.055 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (converter.integrator.y,integrator.y,voltageSource.pin_p.reference.gamma) * Number of discrete variables: 16 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,irradiance.startDayOfYear,irradiance.dayOfYear,irradiance.daysOfYear,irradiance.year,irradiance.localDays,writeCSV.sampleTrigger,writeCSV.firstTrigger) * Number of discrete states: 16 (irradiance.daysOfYear,irradiance.year,irradiance.startDayOfYear,$whenCondition3,irradiance.dayOfYear,$whenCondition2,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power,writeCSV.firstTrigger,$whenCondition4,writeCSV.sampleTrigger) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 2 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008187/0.3517, allocations: 353.1 kB / 0.5226 GB, free: 6.773 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002205/0.3539, allocations: 1.159 MB / 0.5237 GB, free: 5.559 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.3539, allocations: 4.062 kB / 0.5237 GB, free: 5.555 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001093/0.355, allocations: 0.6659 MB / 0.5244 GB, free: 4.852 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007513/0.3558, allocations: 148.3 kB / 0.5245 GB, free: 4.711 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003281/0.3591, allocations: 1.848 MB / 0.5263 GB, free: 2.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005898/0.3597, allocations: 1.011 MB / 0.5273 GB, free: 1.781 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002791/0.36, allocations: 91.38 kB / 0.5274 GB, free: 1.691 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.36, allocations: 0 / 0.5274 GB, free: 1.691 MB / 382.1 MB Notification: Performance of Templates: time 0.02261/0.3826, allocations: 17.3 MB / 0.5443 GB, free: 428 kB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704.makefile [Timeout 660] (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.913483067182824] Failed to read output from testmodel.py, exit status != 0: 0.3895139049272984 0.40253451700000004 0.12628004 Calling exit ...