Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.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.03088/0.03088, allocations: 5.394 MB / 22.36 MB, free: 0.6797 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.001151/0.001151, allocations: 109.1 kB / 26.38 MB, free: 4.523 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.001316/0.001316, allocations: 191.6 kB / 30.52 MB, free: 436 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.318/1.318, allocations: 222.9 MB / 257.4 MB, free: 14.09 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.009036/0.009036, allocations: 2.319 MB / 313.1 MB, free: 3.242 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_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002684/0.002684, allocations: 103.8 kB / 431.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1933, allocations: 51.2 MB / 482.3 MB, free: 22.97 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808): time 0.006106/0.1995, allocations: 6.897 MB / 489.2 MB, free: 17.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004818/0.2043, allocations: 4.018 MB / 493.2 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006153/0.2049, allocations: 26.56 kB / 493.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002169/0.2071, allocations: 1.168 MB / 494.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001507/0.2086, allocations: 0.8849 MB / 495.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001477/0.2101, allocations: 0.6077 MB / 495.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001126/0.2113, allocations: 1.42 MB / 497.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001058/0.2123, allocations: 1.008 MB / 498.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005236/0.2129, allocations: 0.5652 MB / 498.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006827/0.2135, allocations: 0.6807 MB / 499.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001773/0.2137, allocations: 139.5 kB / 499.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007602/0.2145, allocations: 437.1 kB / 0.4884 GB, free: 10.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001713/0.2147, allocations: 302 kB / 0.4887 GB, free: 9.879 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003988/0.2151, allocations: 0.637 MB / 0.4893 GB, free: 9.402 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001437/0.2165, allocations: 1.771 MB / 0.491 GB, free: 8.086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2165, allocations: 1.375 kB / 0.491 GB, free: 8.086 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2166, allocations: 0 / 0.491 GB, free: 8.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.2166, allocations: 0 / 0.491 GB, free: 8.086 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.003402/0.22, allocations: 1.836 MB / 0.4928 GB, free: 6.621 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.896e-05/0.22, allocations: 12.03 kB / 0.4928 GB, free: 6.609 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001879/0.2219, allocations: 387.8 kB / 0.4932 GB, free: 6.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001349/0.2233, allocations: 0.8171 MB / 0.494 GB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.002e-05/0.2233, allocations: 82 kB / 0.4941 GB, free: 5.289 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.2234, allocations: 100 kB / 0.4942 GB, free: 5.191 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.2249, allocations: 1.126 MB / 0.4953 GB, free: 4.008 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/0.225, allocations: 0 / 0.4953 GB, free: 4.008 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.479e-05/0.2251, allocations: 44 kB / 0.4953 GB, free: 3.965 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.2251, allocations: 24 kB / 0.4953 GB, free: 3.941 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/0.2266, allocations: 0.9563 MB / 0.4963 GB, free: 2.984 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004775/0.2314, allocations: 4.311 MB / 0.5005 GB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002671/0.2341, allocations: 1.669 MB / 0.5021 GB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006642/0.2348, allocations: 325.4 kB / 0.5024 GB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.912e-05/0.2349, allocations: 89.53 kB / 0.5025 GB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008203/0.2357, allocations: 458.6 kB / 0.5029 GB, free: 11.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 1.934e-06/0.2357, allocations: 0 / 0.5029 GB, free: 11.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.005474/0.2412, allocations: 1.557 MB / 0.5044 GB, free: 10.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001553/0.2414, allocations: 273.6 kB / 0.5047 GB, free: 9.738 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008476/0.2422, allocations: 0.6605 MB / 0.5054 GB, free: 9.066 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.928e-05/0.2423, allocations: 37.7 kB / 0.5054 GB, free: 9.023 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000411/0.2427, allocations: 0.535 MB / 0.5059 GB, free: 8.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001875/0.2429, allocations: 226.2 kB / 0.5061 GB, free: 8.258 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002847/0.2432, allocations: 194.5 kB / 0.5063 GB, free: 8.059 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.2434, allocations: 382.8 kB / 0.5067 GB, free: 7.676 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006353/0.244, allocations: 281.8 kB / 0.5069 GB, free: 7.402 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008532/0.2449, allocations: 0.5441 MB / 0.5075 GB, free: 6.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001535/0.2464, allocations: 0.9176 MB / 0.5084 GB, free: 5.707 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/0.2465, allocations: 7.938 kB / 0.5084 GB, free: 5.699 MB / 366.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002201/0.2487, allocations: 1.067 MB / 0.5094 GB, free: 4.609 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.837e-05/0.2487, allocations: 71.45 kB / 0.5095 GB, free: 4.527 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.2487, allocations: 8 kB / 0.5095 GB, free: 4.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000448/0.2492, allocations: 84.78 kB / 0.5096 GB, free: 4.434 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008461/0.2501, allocations: 219.6 kB / 0.5098 GB, free: 4.219 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001604/0.2517, allocations: 1.586 MB / 0.5113 GB, free: 2.488 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007347/0.2524, allocations: 107.3 kB / 0.5114 GB, free: 2.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.729e-05/0.2525, allocations: 44.06 kB / 0.5115 GB, free: 2.34 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 26 (writeCSV.firstTrigger,$PRE.writeCSV.firstTrigger,mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,$PRE.irradianceTable.nextTimeEvent,$whenCondition4,writeCSV.sampleTrigger,$whenCondition3,mpTracker.sampleTrigger,$whenCondition2,$PRE.powerTable.nextTimeEvent,$whenCondition1,powerTable.nextTimeEventScaled,$PRE.powerTable.nextTimeEventScaled,powerTable.nextTimeEvent,irradianceTable.nextTimeEventScaled,$PRE.irradianceTable.nextTimeEventScaled,irradianceTable.nextTimeEvent,mpTracker.vRef,$PRE.mpTracker.vRef,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 (117): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 2 * 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.0004698/0.253, allocations: 335.5 kB / 0.5118 GB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.2531, allocations: 99.36 kB / 0.5119 GB, free: 1.891 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001951/0.2551, allocations: 0.9052 MB / 0.5128 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/0.2551, allocations: 4 kB / 0.5128 GB, free: 0.957 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2551, allocations: 7.938 kB / 0.5128 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.2551, allocations: 3.984 kB / 0.5128 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005726/0.2609, allocations: 2.207 MB / 0.515 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.2609, allocations: 0 / 0.515 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003497/0.2613, allocations: 87.89 kB / 0.515 GB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008242/0.2621, allocations: 334.2 kB / 0.5154 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.327e-05/0.2622, allocations: 27.97 kB / 0.5154 GB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001328/0.2635, allocations: 0.8858 MB / 0.5162 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2635, allocations: 64 / 0.5162 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005093/0.2686, allocations: 1.635 MB / 0.5178 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003691/0.269, allocations: 232.4 kB / 0.5181 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001389/0.2691, allocations: 19.95 kB / 0.5181 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005419/0.2697, allocations: 48.02 kB / 0.5181 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.214e-05/0.2698, allocations: 44.39 kB / 0.5182 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.074e-05/0.2699, allocations: 35.91 kB / 0.5182 GB, free: 11.22 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006171/0.2705, allocations: 463 kB / 0.5187 GB, free: 10.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2705, allocations: 3.938 kB / 0.5187 GB, free: 10.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009189/0.2714, allocations: 319.2 kB / 0.519 GB, free: 10.45 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (voltageSource.pin_p.reference.gamma,converter.integrator.y,integrator.y) * Number of discrete variables: 15 ($whenCondition1,powerTable.nextTimeEvent,powerTable.nextTimeEventScaled,$whenCondition4,$whenCondition2,$whenCondition3,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,writeCSV.sampleTrigger,writeCSV.firstTrigger,irradianceTable.nextTimeEvent,irradianceTable.nextTimeEventScaled) * Number of discrete states: 14 (irradianceTable.nextTimeEvent,irradianceTable.nextTimeEventScaled,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition2,mpTracker.sampleTrigger,mpTracker.power,writeCSV.firstTrigger,$whenCondition3,writeCSV.sampleTrigger,powerTable.nextTimeEventScaled,powerTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 4 * 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.002013/0.2734, allocations: 0.6528 MB / 0.5196 GB, free: 10.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001953/0.2754, allocations: 0.968 MB / 0.5205 GB, free: 9.039 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2754, allocations: 0 / 0.5205 GB, free: 9.039 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008734/0.2763, allocations: 489.4 kB / 0.521 GB, free: 8.535 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008827/0.2772, allocations: 177.7 kB / 0.5212 GB, free: 8.371 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003064/0.2803, allocations: 1.775 MB / 0.5229 GB, free: 6.551 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006334/0.2809, allocations: 1.017 MB / 0.5239 GB, free: 5.504 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002394/0.2812, allocations: 87.39 kB / 0.524 GB, free: 5.418 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2812, allocations: 0 / 0.524 GB, free: 5.418 MB / 382.1 MB Notification: Performance of Templates: time 0.02193/0.3031, allocations: 17.36 MB / 0.5409 GB, free: 4.094 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.makefile [Timeout 660] (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.180174909066409] Failed to read output from testmodel.py, exit status != 0: 0.3099587669130415 0.32233356700000004 0.103319428 Calling exit ...