Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.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.02882/0.02882, allocations: 5.396 MB / 22.37 MB, free: 0.6562 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.001239/0.001239, allocations: 108.6 kB / 26.38 MB, free: 4.531 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.001399/0.001399, allocations: 193.1 kB / 30.51 MB, free: 428 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.347/1.347, allocations: 222.9 MB / 257.4 MB, free: 14.11 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.009209/0.009209, allocations: 2.322 MB / 313.1 MB, free: 3.324 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_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002683/0.002683, allocations: 96.22 kB / 431 MB, free: 2.281 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2141, allocations: 51.21 MB / 482.3 MB, free: 23.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629): time 0.006316/0.2205, allocations: 6.897 MB / 489.2 MB, free: 17.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005202/0.2257, allocations: 4.022 MB / 493.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000847/0.2266, allocations: 22.62 kB / 493.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002382/0.229, allocations: 1.163 MB / 494.4 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001789/0.2308, allocations: 0.8784 MB / 495.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001603/0.2324, allocations: 0.6139 MB / 495.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001387/0.2338, allocations: 1.42 MB / 497.3 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001139/0.2349, allocations: 1.018 MB / 498.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000632/0.2356, allocations: 0.565 MB / 498.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000701/0.2363, allocations: 0.6729 MB / 499.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001739/0.2365, allocations: 140.5 kB / 499.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008098/0.2373, allocations: 440.7 kB / 0.4884 GB, free: 10.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001688/0.2374, allocations: 300.3 kB / 0.4887 GB, free: 9.914 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004196/0.2379, allocations: 0.6308 MB / 0.4893 GB, free: 9.445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001574/0.2395, allocations: 1.763 MB / 0.491 GB, free: 8.137 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2395, allocations: 0 / 0.491 GB, free: 8.137 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2395, allocations: 0 / 0.491 GB, free: 8.137 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.625e-05/0.2395, allocations: 5.812 kB / 0.491 GB, free: 8.133 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.003462/0.243, allocations: 1.843 MB / 0.4928 GB, free: 6.633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.243, allocations: 12.03 kB / 0.4928 GB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001944/0.245, allocations: 383.8 kB / 0.4932 GB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001444/0.2464, allocations: 0.8171 MB / 0.494 GB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.821e-05/0.2465, allocations: 78 kB / 0.4941 GB, free: 5.309 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.2466, allocations: 100 kB / 0.4942 GB, free: 5.211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.2482, allocations: 1.134 MB / 0.4953 GB, free: 4.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.846e-05/0.2482, allocations: 0 / 0.4953 GB, free: 4.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.445e-05/0.2483, allocations: 44 kB / 0.4953 GB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.2483, allocations: 24 kB / 0.4953 GB, free: 3.953 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001571/0.2499, allocations: 0.9485 MB / 0.4963 GB, free: 3.004 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0051/0.255, allocations: 4.303 MB / 0.5005 GB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002705/0.2577, allocations: 1.681 MB / 0.5021 GB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006826/0.2584, allocations: 325.5 kB / 0.5024 GB, free: 12.26 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-05/0.2585, allocations: 93.52 kB / 0.5025 GB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008495/0.2594, allocations: 462.6 kB / 0.5029 GB, free: 11.67 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 2.335e-06/0.2594, allocations: 0 / 0.5029 GB, free: 11.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.005611/0.265, allocations: 1.549 MB / 0.5044 GB, free: 10.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001925/0.2653, allocations: 281.6 kB / 0.5047 GB, free: 9.746 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.2663, allocations: 0.6644 MB / 0.5054 GB, free: 9.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.216e-05/0.2664, allocations: 37.7 kB / 0.5054 GB, free: 9.027 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004676/0.2669, allocations: 0.5272 MB / 0.5059 GB, free: 8.492 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/0.2671, allocations: 230.2 kB / 0.5061 GB, free: 8.266 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003013/0.2674, allocations: 178.5 kB / 0.5063 GB, free: 8.082 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002286/0.2676, allocations: 390.7 kB / 0.5067 GB, free: 7.691 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006516/0.2683, allocations: 285.8 kB / 0.507 GB, free: 7.414 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008607/0.2691, allocations: 0.5402 MB / 0.5075 GB, free: 6.766 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001523/0.2707, allocations: 0.9137 MB / 0.5084 GB, free: 5.727 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/0.2707, allocations: 11.88 kB / 0.5084 GB, free: 5.715 MB / 366.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002281/0.273, allocations: 1.075 MB / 0.5094 GB, free: 4.617 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.281e-05/0.2731, allocations: 66.05 kB / 0.5095 GB, free: 4.543 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.2731, allocations: 8 kB / 0.5095 GB, free: 4.535 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004646/0.2735, allocations: 85.08 kB / 0.5096 GB, free: 4.449 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008309/0.2744, allocations: 223.6 kB / 0.5098 GB, free: 4.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/0.2761, allocations: 1.57 MB / 0.5113 GB, free: 2.516 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008392/0.2769, allocations: 119.4 kB / 0.5114 GB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.323e-05/0.277, allocations: 47.97 kB / 0.5115 GB, free: 2.352 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.0005204/0.2776, allocations: 335.6 kB / 0.5118 GB, free: 2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.2777, allocations: 91.38 kB / 0.5119 GB, free: 1.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001969/0.2797, allocations: 0.9168 MB / 0.5128 GB, free: 0.9688 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.2797, allocations: 4 kB / 0.5128 GB, free: 0.9648 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.2797, allocations: 4 kB / 0.5128 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.2797, allocations: 3.984 kB / 0.5128 GB, free: 0.957 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005862/0.2856, allocations: 2.211 MB / 0.515 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.2856, allocations: 0 / 0.515 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003514/0.286, allocations: 87.89 kB / 0.515 GB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008407/0.2869, allocations: 326.3 kB / 0.5154 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.965e-05/0.2869, allocations: 27.97 kB / 0.5154 GB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001377/0.2883, allocations: 0.8897 MB / 0.5163 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2883, allocations: 0 / 0.5163 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00519/0.2935, allocations: 1.631 MB / 0.5178 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004066/0.2939, allocations: 224.4 kB / 0.5181 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001684/0.2941, allocations: 23.95 kB / 0.5181 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000578/0.2947, allocations: 47.97 kB / 0.5181 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.2948, allocations: 48.31 kB / 0.5182 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.326e-05/0.2949, allocations: 27.97 kB / 0.5182 GB, free: 11.24 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006931/0.2956, allocations: 463 kB / 0.5186 GB, free: 10.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2956, allocations: 3.938 kB / 0.5186 GB, free: 10.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009919/0.2966, allocations: 315.2 kB / 0.5189 GB, free: 10.48 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.002113/0.2987, allocations: 0.6623 MB / 0.5196 GB, free: 10.06 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002009/0.3008, allocations: 0.9673 MB / 0.5205 GB, free: 9.055 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.3008, allocations: 0 / 0.5205 GB, free: 9.055 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009164/0.3017, allocations: 498 kB / 0.521 GB, free: 8.543 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009477/0.3027, allocations: 166.3 kB / 0.5212 GB, free: 8.387 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003381/0.306, allocations: 1.779 MB / 0.5229 GB, free: 6.562 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007436/0.3068, allocations: 1.014 MB / 0.5239 GB, free: 5.523 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000261/0.3071, allocations: 83.41 kB / 0.524 GB, free: 5.441 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3071, allocations: 0 / 0.524 GB, free: 5.441 MB / 382.1 MB Notification: Performance of Templates: time 0.02489/0.332, allocations: 17.37 MB / 0.5409 GB, free: 4.113 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.makefile [Timeout 660] (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.289384830975905] Failed to read output from testmodel.py, exit status != 0: 0.33924184390343726 0.35241338800000005 0.110392841 Calling exit ...